Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.00238/0.00238, allocations: 185.1 kB / 15.76 MB, free: 6.363 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.908/1.908, 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.001005/0.001005, allocations: 98.84 kB / 270.2 MB, free: 13.36 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.2327/0.2327, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 12 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4236/0.5629, allocations: 87.71 MB / 0.5645 GB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.5632, allocations: 77.14 kB / 0.5646 GB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.5784, allocations: 5.553 MB / 0.57 GB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5785, allocations: 0 / 0.57 GB, free: 7.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.5785, allocations: 0 / 0.57 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007641/0.5793, allocations: 442.2 kB / 0.5704 GB, free: 6.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.5793, allocations: 12.03 kB / 0.5704 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.5794, allocations: 30.56 kB / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.5794, allocations: 7.906 kB / 0.5705 GB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.5798, allocations: 229.6 kB / 0.5707 GB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.5798, allocations: 7.922 kB / 0.5707 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.5799, allocations: 7.938 kB / 0.5707 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.58, allocations: 56.3 kB / 0.5708 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.58, allocations: 4 kB / 0.5708 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.5801, allocations: 3.938 kB / 0.5708 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.5801, allocations: 4 kB / 0.5708 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.5802, allocations: 15.8 kB / 0.5708 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.5806, allocations: 308.1 kB / 0.5711 GB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.5809, allocations: 65.8 kB / 0.5712 GB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.5809, allocations: 0 / 0.5712 GB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.581, allocations: 63.39 kB / 0.5712 GB, free: 5.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.5811, allocations: 0 / 0.5712 GB, free: 5.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005955/0.5817, allocations: 188.4 kB / 0.5714 GB, free: 5.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.5817, allocations: 55.41 kB / 0.5714 GB, free: 5.676 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.582, allocations: 199.6 kB / 0.5716 GB, free: 5.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.582, allocations: 37.14 kB / 0.5717 GB, free: 5.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.5821, allocations: 103 kB / 0.5718 GB, free: 5.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.5821, allocations: 27.33 kB / 0.5718 GB, free: 5.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.5821, allocations: 0 / 0.5718 GB, free: 5.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5823, allocations: 326.3 kB / 0.5721 GB, free: 5.023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.236e-05/0.5824, allocations: 27.23 kB / 0.5721 GB, free: 5.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.5824, allocations: 32.89 kB / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.5825, allocations: 30.81 kB / 0.5722 GB, free: 4.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5825, allocations: 0 / 0.5722 GB, free: 4.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.5827, allocations: 103.5 kB / 0.5723 GB, free: 4.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.5827, allocations: 8 kB / 0.5723 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5828, allocations: 0 / 0.5723 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.5828, allocations: 0 / 0.5723 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.5829, allocations: 15.98 kB / 0.5723 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5829, allocations: 7.953 kB / 0.5723 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.5829, allocations: 0 / 0.5723 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.583, allocations: 11.78 kB / 0.5723 GB, free: 4.824 MB / 378.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 () * Number of clocked 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 0.0001222/0.5831, allocations: 125.3 kB / 0.5725 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.5831, allocations: 11.91 kB / 0.5725 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.5834, allocations: 124.3 kB / 0.5726 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5834, allocations: 0 / 0.5726 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.5834, allocations: 4.078 kB / 0.5726 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5834, allocations: 7.891 kB / 0.5726 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.584, allocations: 425.2 kB / 0.573 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.584, allocations: 0 / 0.573 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.584, allocations: 15.94 kB / 0.573 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.584, allocations: 0 / 0.573 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.584, allocations: 4.062 kB / 0.573 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.584, allocations: 7.891 kB / 0.573 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/0.5841, allocations: 8 kB / 0.573 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.5843, allocations: 225.9 kB / 0.5732 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.5844, allocations: 96.31 kB / 0.5733 GB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.5845, allocations: 7.938 kB / 0.5733 GB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.5845, allocations: 7.25 kB / 0.5734 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.5846, allocations: 7.984 kB / 0.5734 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.5846, allocations: 4 kB / 0.5734 GB, free: 3.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.5847, allocations: 171.7 kB / 0.5735 GB, free: 3.605 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5847, allocations: 0 / 0.5735 GB, free: 3.605 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.585, allocations: 39.11 kB / 0.5736 GB, free: 3.57 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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 (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.001544/0.5866, allocations: 1.198 MB / 0.5747 GB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.5868, allocations: 58.17 kB / 0.5748 GB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5868, allocations: 0 / 0.5748 GB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.5869, allocations: 38.73 kB / 0.5748 GB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.5871, allocations: 26.22 kB / 0.5749 GB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.5884, allocations: 0.9385 MB / 0.5758 GB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.5887, allocations: 0.7082 MB / 0.5765 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.5888, allocations: 23.8 kB / 0.5765 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.5889, allocations: 38.3 kB / 0.5765 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of SimCode: time 2.855e-06/0.5889, allocations: 112 / 0.5765 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.6073, allocations: 3.233 MB / 0.5797 GB, free: 13.45 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/0.6076, allocations: 209.8 kB / 0.5799 GB, free: 13.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.174, allocations: 0 / 0.5799 GB, free: 13.21 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat