Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.00177/0.00177, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008121/0.0008121, allocations: 90.8 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2289/0.2289, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003566, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1266, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3514/0.478, allocations: 87.76 MB / 0.5646 GB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4783, allocations: 76.62 kB / 0.5646 GB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.4938, allocations: 5.861 MB / 0.5704 GB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4938, allocations: 0 / 0.5704 GB, free: 7.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.4939, allocations: 0 / 0.5704 GB, free: 7.23 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007098/0.4946, allocations: 468.3 kB / 0.5708 GB, free: 6.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.4946, allocations: 15.97 kB / 0.5708 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.566e-05/0.4947, allocations: 34.06 kB / 0.5708 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.4948, allocations: 19.81 kB / 0.5709 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.4952, allocations: 248.1 kB / 0.5711 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4952, allocations: 3.984 kB / 0.5711 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.4953, allocations: 4 kB / 0.5711 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.4955, allocations: 102.7 kB / 0.5712 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4955, allocations: 3.984 kB / 0.5712 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.4956, allocations: 7.984 kB / 0.5712 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4956, allocations: 0 / 0.5712 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.4957, allocations: 33.67 kB / 0.5713 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.496, allocations: 217.5 kB / 0.5715 GB, free: 6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.4963, allocations: 112.4 kB / 0.5716 GB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.4963, allocations: 4.078 kB / 0.5716 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.4966, allocations: 112.8 kB / 0.5717 GB, free: 5.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.4966, allocations: 0 / 0.5717 GB, free: 5.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004607/0.497, allocations: 176.4 kB / 0.5718 GB, free: 5.629 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/0.4971, allocations: 132.5 kB / 0.572 GB, free: 5.469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.4974, allocations: 201.1 kB / 0.5722 GB, free: 5.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.4974, allocations: 33.45 kB / 0.5722 GB, free: 5.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.4975, allocations: 109.1 kB / 0.5723 GB, free: 5.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.4975, allocations: 22.66 kB / 0.5723 GB, free: 5.148 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.4975, allocations: 3.25 kB / 0.5723 GB, free: 5.148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4977, allocations: 333.4 kB / 0.5726 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.4978, allocations: 34.36 kB / 0.5727 GB, free: 4.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.4979, allocations: 71.69 kB / 0.5727 GB, free: 4.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.193e-05/0.498, allocations: 38.38 kB / 0.5728 GB, free: 4.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.498, allocations: 0 / 0.5728 GB, free: 4.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002614/0.4983, allocations: 138.1 kB / 0.5729 GB, free: 4.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4983, allocations: 7.938 kB / 0.5729 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4983, allocations: 4 kB / 0.5729 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4983, allocations: 0 / 0.5729 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4985, allocations: 23.92 kB / 0.5729 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.4985, allocations: 4 kB / 0.5729 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.376e-05/0.4986, allocations: 15.3 kB / 0.573 GB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.4986, allocations: 4 kB / 0.573 GB, free: 4.523 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.4987, allocations: 140 kB / 0.5731 GB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.4987, allocations: 23.7 kB / 0.5731 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.4991, allocations: 155.3 kB / 0.5733 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4991, allocations: 11.94 kB / 0.5733 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4991, allocations: 0 / 0.5733 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4991, allocations: 3.984 kB / 0.5733 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.4994, allocations: 232.3 kB / 0.5735 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4994, allocations: 0 / 0.5735 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.4994, allocations: 15.94 kB / 0.5735 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4994, allocations: 0 / 0.5735 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.4995, allocations: 7.438 kB / 0.5735 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4995, allocations: 0 / 0.5735 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4995, allocations: 3.984 kB / 0.5735 GB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.4998, allocations: 188.9 kB / 0.5737 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.4999, allocations: 104.2 kB / 0.5738 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.4999, allocations: 11.42 kB / 0.5738 GB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.5, allocations: 4 kB / 0.5738 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.5001, allocations: 7.984 kB / 0.5738 GB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.5001, allocations: 11.25 kB / 0.5738 GB, free: 3.613 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.5002, allocations: 168.7 kB / 0.574 GB, free: 3.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5002, allocations: 0 / 0.574 GB, free: 3.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.5005, allocations: 43.36 kB / 0.574 GB, free: 3.438 MB / 378.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001559/0.5021, allocations: 1.16 MB / 0.5752 GB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.5023, allocations: 91.27 kB / 0.5753 GB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5024, allocations: 3.938 kB / 0.5753 GB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.5025, allocations: 41.11 kB / 0.5753 GB, free: 2.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.5028, allocations: 49.02 kB / 0.5754 GB, free: 2.199 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.5044, allocations: 1.339 MB / 0.5767 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.5047, allocations: 0.7244 MB / 0.5774 GB, free: 152 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.5049, allocations: 37.5 kB / 0.5774 GB, free: 116 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.505, allocations: 54.22 kB / 0.5775 GB, free: 84 kB / 378.7 MB Notification: Performance of SimCode: time 2.304e-06/0.505, allocations: 0 / 0.5775 GB, free: 84 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.5234, allocations: 4.208 MB / 0.5816 GB, free: 11.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.5237, allocations: 206.4 kB / 0.5818 GB, free: 11.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.218, allocations: 3.938 kB / 0.5818 GB, free: 11.65 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat