Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009849/0.000985, allocations: 172.8 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 86.16 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1897/0.1897, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.61e-05, allocations: 8 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3374/0.4544, allocations: 86.92 MB / 0.5509 GB, free: 7.961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/0.4546, allocations: 78.77 kB / 0.551 GB, free: 7.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01255/0.4671, allocations: 5.226 MB / 0.5561 GB, free: 3.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4672, allocations: 0 / 0.5561 GB, free: 3.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.4672, allocations: 4 kB / 0.5561 GB, free: 3.801 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003742/0.4676, allocations: 402.1 kB / 0.5565 GB, free: 3.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4676, allocations: 8.031 kB / 0.5565 GB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.4677, allocations: 11.91 kB / 0.5565 GB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.4679, allocations: 218.2 kB / 0.5567 GB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.468, allocations: 4.75 kB / 0.5567 GB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.468, allocations: 0 / 0.5567 GB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.666e-05/0.4681, allocations: 19.81 kB / 0.5567 GB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.056e-05/0.4681, allocations: 53.48 kB / 0.5568 GB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4682, allocations: 0 / 0.5568 GB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4682, allocations: 0 / 0.5568 GB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4682, allocations: 0 / 0.5568 GB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.4685, allocations: 272.1 kB / 0.557 GB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.102e-05/0.4686, allocations: 65.92 kB / 0.5571 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.4686, allocations: 16.8 kB / 0.5571 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.4687, allocations: 0 / 0.5571 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.4688, allocations: 67.27 kB / 0.5572 GB, free: 2.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4688, allocations: 4 kB / 0.5572 GB, free: 2.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003877/0.4692, allocations: 143.8 kB / 0.5573 GB, free: 2.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.4692, allocations: 59.39 kB / 0.5574 GB, free: 2.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4693, allocations: 170.6 kB / 0.5575 GB, free: 2.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.4694, allocations: 25.7 kB / 0.5576 GB, free: 2.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.4694, allocations: 99.75 kB / 0.5577 GB, free: 2.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.4694, allocations: 19.28 kB / 0.5577 GB, free: 2.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.4694, allocations: 0 / 0.5577 GB, free: 2.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.242e-05/0.4695, allocations: 330.6 kB / 0.558 GB, free: 1.801 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.4695, allocations: 15.94 kB / 0.558 GB, free: 1.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/0.4696, allocations: 33.39 kB / 0.558 GB, free: 1.758 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.4696, allocations: 19.44 kB / 0.5581 GB, free: 1.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4696, allocations: 0 / 0.5581 GB, free: 1.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001143/0.4697, allocations: 100.6 kB / 0.5582 GB, free: 1.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4698, allocations: 8 kB / 0.5582 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4698, allocations: 0 / 0.5582 GB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.4698, allocations: 4.031 kB / 0.5582 GB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.4699, allocations: 12 kB / 0.5582 GB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.4699, allocations: 4 kB / 0.5582 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.4699, allocations: 3.984 kB / 0.5582 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.47, allocations: 11.89 kB / 0.5582 GB, free: 1.617 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.451e-05/0.47, allocations: 104.9 kB / 0.5583 GB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001188/0.4702, allocations: 96.77 kB / 0.5584 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.4702, allocations: 11.81 kB / 0.5584 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.4704, allocations: 117.4 kB / 0.5585 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4704, allocations: 0 / 0.5585 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4704, allocations: 3.953 kB / 0.5585 GB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4704, allocations: 288 / 0.5585 GB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.4707, allocations: 370.4 kB / 0.5589 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4707, allocations: 0 / 0.5589 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.4708, allocations: 15.92 kB / 0.5589 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4708, allocations: 4 kB / 0.5589 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4708, allocations: 4.031 kB / 0.5589 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4708, allocations: 3.953 kB / 0.5589 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4708, allocations: 4.312 kB / 0.5589 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.4709, allocations: 208.7 kB / 0.5591 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.471, allocations: 96.84 kB / 0.5592 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.471, allocations: 4.141 kB / 0.5592 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.4711, allocations: 12 kB / 0.5592 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.4711, allocations: 7.984 kB / 0.5592 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.4712, allocations: 4 kB / 0.5592 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.651e-05/0.4712, allocations: 134.2 kB / 0.5594 GB, free: 452 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4713, allocations: 0 / 0.5594 GB, free: 452 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002623/0.4715, allocations: 27.88 kB / 0.5594 GB, free: 428 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001174/0.4727, allocations: 1.108 MB / 0.5605 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.4728, allocations: 55.42 kB / 0.5605 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4728, allocations: 0 / 0.5605 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.4729, allocations: 23.62 kB / 0.5605 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.4732, allocations: 19.61 kB / 0.5606 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.4737, allocations: 238.2 kB / 0.5608 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.474, allocations: 0.7041 MB / 0.5615 GB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.141e-05/0.474, allocations: 12.86 kB / 0.5615 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.4741, allocations: 38.73 kB / 0.5615 GB, free: 14.26 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4741, allocations: 0 / 0.5615 GB, free: 14.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.496, allocations: 2.665 MB / 0.5641 GB, free: 11.61 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/0.4962, allocations: 166.4 kB / 0.5643 GB, free: 11.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.039, allocations: 0 / 0.5643 GB, free: 11.41 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat