Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00203/0.00203, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 79.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3393, allocations: 62.43 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003102/0.3424, allocations: 1.946 MB / 0.5325 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3441, allocations: 1.054 MB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.3442, allocations: 1.969 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.3445, allocations: 49.11 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.3448, allocations: 99.22 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.345, allocations: 93.84 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.3453, allocations: 145.8 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3454, allocations: 29.61 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.793e-05/0.3455, allocations: 56.97 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.731e-05/0.3456, allocations: 49.45 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3456, allocations: 10.81 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.383e-05/0.3457, allocations: 47.61 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.3458, allocations: 34.78 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.3458, allocations: 50.61 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.3461, allocations: 151.3 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3461, allocations: 1.375 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3461, allocations: 0 / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3461, allocations: 3.938 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006155/0.3467, allocations: 485.7 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3468, allocations: 9.625 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.3468, allocations: 36.12 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.3469, allocations: 21 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.3472, allocations: 239.5 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3472, allocations: 7.125 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.3472, allocations: 9.438 kB / 0.5351 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.3475, allocations: 106.5 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3475, allocations: 0 / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3475, allocations: 5.375 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3475, allocations: 1.375 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.3477, allocations: 62.89 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.3484, allocations: 0.4957 MB / 0.5357 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.3488, allocations: 95.58 kB / 0.5358 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.3489, allocations: 35.81 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.349, allocations: 1.344 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.3492, allocations: 89 kB / 0.5359 GB, free: 8.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3492, allocations: 0 / 0.5359 GB, free: 8.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000389/0.3496, allocations: 151.4 kB / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.3496, allocations: 52.62 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3498, allocations: 195.3 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3498, allocations: 30.67 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.3499, allocations: 119.8 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.35, allocations: 34.92 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.35, allocations: 31.09 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.3501, allocations: 326.3 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.3502, allocations: 28.52 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3503, allocations: 60.25 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3505, allocations: 105.8 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3505, allocations: 1.188 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002675/0.3508, allocations: 141.5 kB / 0.5371 GB, free: 7.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3508, allocations: 5.906 kB / 0.5371 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3508, allocations: 0.9688 kB / 0.5371 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3509, allocations: 6.094 kB / 0.5372 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.351, allocations: 26.08 kB / 0.5372 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.351, allocations: 2.531 kB / 0.5372 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.3511, allocations: 12.61 kB / 0.5372 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3511, allocations: 8 kB / 0.5372 GB, free: 7.816 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.3512, allocations: 129.6 kB / 0.5373 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.3512, allocations: 18.28 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.3513, allocations: 18.8 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3513, allocations: 5.344 kB / 0.5374 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3513, allocations: 0 / 0.5374 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3513, allocations: 0 / 0.5374 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3515, allocations: 214.7 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3515, allocations: 0 / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.3516, allocations: 14.2 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3516, allocations: 1.344 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3516, allocations: 0 / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.3516, allocations: 9.469 kB / 0.5376 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3516, allocations: 0 / 0.5376 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.352, allocations: 185.5 kB / 0.5378 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.352, allocations: 88.53 kB / 0.5379 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.3521, allocations: 5.406 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.279e-05/0.3521, allocations: 8.312 kB / 0.5379 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.3522, allocations: 14.42 kB / 0.5379 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3522, allocations: 3.656 kB / 0.5379 GB, free: 7.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3523, allocations: 141.8 kB / 0.538 GB, free: 7.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.3523, allocations: 0 / 0.538 GB, free: 7.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.3526, allocations: 39.58 kB / 0.5381 GB, free: 7.043 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001413/0.354, allocations: 1.007 MB / 0.539 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.3543, allocations: 82.7 kB / 0.5391 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3543, allocations: 1.062 kB / 0.5391 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3544, allocations: 34.58 kB / 0.5392 GB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3547, allocations: 49.56 kB / 0.5392 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.3569, allocations: 1.755 MB / 0.5409 GB, free: 4.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.3571, allocations: 0.7166 MB / 0.5416 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.3572, allocations: 23.17 kB / 0.5416 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.3573, allocations: 48.36 kB / 0.5417 GB, free: 3.938 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3573, allocations: 3.938 kB / 0.5417 GB, free: 3.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.3786, allocations: 3.86 MB / 0.5455 GB, free: 1.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.173, allocations: 12.8 kB / 0.5455 GB, free: 1.867 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches