Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.0009756/0.0009756, allocations: 176.7 kB / 8.008 MB, free: 1.066 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.416/1.416, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.0008824/0.0008826, allocations: 86.36 kB / 261.7 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.1906/0.1906, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.923e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1187, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4614, allocations: 86.91 MB / 0.5509 GB, free: 7.676 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4616, allocations: 79.55 kB / 0.551 GB, free: 7.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01271/0.4744, allocations: 5.235 MB / 0.5561 GB, free: 3.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4744, allocations: 0 / 0.5561 GB, free: 3.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.4744, allocations: 11.88 kB / 0.5561 GB, free: 3.5 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.0003532/0.4748, allocations: 389.8 kB / 0.5565 GB, free: 3.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4748, allocations: 12.03 kB / 0.5565 GB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.4749, allocations: 7.906 kB / 0.5565 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.4751, allocations: 221.2 kB / 0.5567 GB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4752, allocations: 4 kB / 0.5567 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.4752, allocations: 0 / 0.5567 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.074e-05/0.4753, allocations: 21.36 kB / 0.5567 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.4753, allocations: 48.69 kB / 0.5568 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4754, allocations: 0 / 0.5568 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4754, allocations: 3.984 kB / 0.5568 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4754, allocations: 0 / 0.5568 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.4757, allocations: 269.9 kB / 0.5571 GB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.4758, allocations: 53.12 kB / 0.5571 GB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.4758, allocations: 20.17 kB / 0.5571 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4758, allocations: 0 / 0.5571 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.4759, allocations: 76.08 kB / 0.5572 GB, free: 2.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.476, allocations: 0 / 0.5572 GB, free: 2.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003851/0.4763, allocations: 144.8 kB / 0.5573 GB, free: 2.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.4764, allocations: 59.34 kB / 0.5574 GB, free: 2.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4765, allocations: 171 kB / 0.5576 GB, free: 1.973 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.4765, allocations: 25.7 kB / 0.5576 GB, free: 1.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.4766, allocations: 98.62 kB / 0.5577 GB, free: 1.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.4766, allocations: 26.64 kB / 0.5577 GB, free: 1.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.4766, allocations: 4 kB / 0.5577 GB, free: 1.828 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.4767, allocations: 325.6 kB / 0.558 GB, free: 1.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.4767, allocations: 19.12 kB / 0.558 GB, free: 1.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/0.4767, allocations: 28.66 kB / 0.5581 GB, free: 1.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.4768, allocations: 26.73 kB / 0.5581 GB, free: 1.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.4768, allocations: 0 / 0.5581 GB, free: 1.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001131/0.4769, allocations: 92.12 kB / 0.5582 GB, free: 1.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4769, allocations: 12.03 kB / 0.5582 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4769, allocations: 0 / 0.5582 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.477, allocations: 0 / 0.5582 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.4771, allocations: 15.98 kB / 0.5582 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4771, allocations: 7.938 kB / 0.5582 GB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.4771, allocations: 0 / 0.5582 GB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.4771, allocations: 7.953 kB / 0.5582 GB, free: 1.324 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 5.399e-05/0.4772, allocations: 109 kB / 0.5583 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001117/0.4773, allocations: 91.91 kB / 0.5584 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.4773, allocations: 15.81 kB / 0.5584 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.4775, allocations: 114 kB / 0.5585 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4775, allocations: 0 / 0.5585 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4775, allocations: 3.953 kB / 0.5585 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4775, allocations: 0 / 0.5585 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.4778, allocations: 377.3 kB / 0.5589 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4778, allocations: 0 / 0.5589 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.4779, allocations: 8.281 kB / 0.5589 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4779, allocations: 8.031 kB / 0.5589 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4779, allocations: 0 / 0.5589 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4779, allocations: 11.88 kB / 0.5589 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4779, allocations: 4 kB / 0.5589 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.4781, allocations: 207.1 kB / 0.5591 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.4781, allocations: 92.8 kB / 0.5592 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.4781, allocations: 7.953 kB / 0.5592 GB, free: 288 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.4782, allocations: 12.11 kB / 0.5592 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.4783, allocations: 15.69 kB / 0.5592 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.4783, allocations: 4 kB / 0.5592 GB, free: 260 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.4784, allocations: 135.8 kB / 0.5594 GB, free: 144 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4784, allocations: 0 / 0.5594 GB, free: 144 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.4786, allocations: 24 kB / 0.5594 GB, free: 120 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.001257/0.4799, allocations: 1.099 MB / 0.5605 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.48, allocations: 52.17 kB / 0.5605 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.48, allocations: 0 / 0.5605 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.4801, allocations: 28.55 kB / 0.5605 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.4804, allocations: 19.05 kB / 0.5606 GB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.4809, allocations: 231.5 kB / 0.5608 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.4811, allocations: 0.7118 MB / 0.5615 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.4812, allocations: 16.53 kB / 0.5615 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.4813, allocations: 34.61 kB / 0.5615 GB, free: 13.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4813, allocations: 0 / 0.5615 GB, free: 13.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.5036, allocations: 2.653 MB / 0.5641 GB, free: 11.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.5039, allocations: 166.5 kB / 0.5643 GB, free: 11.13 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.038, allocations: 0 / 0.5643 GB, free: 11.13 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat