Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.001445/0.001445, allocations: 186 kB / 13.2 MB, free: 2.117 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.75/1.75, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008988/0.0008988, allocations: 91.53 kB / 267.1 MB, free: 9.289 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.3883/0.3883, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.132e-05/4.134e-05, allocations: 4 kB / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1754, allocations: 58.85 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.5742, allocations: 87.48 MB / 0.5583 GB, free: 1.438 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.5746, allocations: 72.53 kB / 0.5584 GB, free: 1.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0166/0.5912, allocations: 6.494 MB / 0.5648 GB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5912, allocations: 0 / 0.5648 GB, free: 10.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.358e-05/0.5913, allocations: 11.28 kB / 0.5648 GB, free: 10.92 MB / 394.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.0009319/0.5922, allocations: 0.6012 MB / 0.5654 GB, free: 10.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.5923, allocations: 12.03 kB / 0.5654 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.5924, allocations: 34 kB / 0.5654 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.5925, allocations: 51.34 kB / 0.5654 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/0.5934, allocations: 487 kB / 0.5659 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.5935, allocations: 11.92 kB / 0.5659 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.5935, allocations: 0 / 0.5659 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.5937, allocations: 87.36 kB / 0.566 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.5937, allocations: 1.375 kB / 0.566 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.5937, allocations: 0 / 0.566 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5937, allocations: 0 / 0.566 GB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.531e-05/0.5938, allocations: 35.92 kB / 0.566 GB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.5943, allocations: 386.3 kB / 0.5664 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.5944, allocations: 101.3 kB / 0.5665 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.5945, allocations: 41.8 kB / 0.5665 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.5945, allocations: 4 kB / 0.5665 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.5947, allocations: 105.9 kB / 0.5666 GB, free: 8.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.5947, allocations: 3.938 kB / 0.5667 GB, free: 8.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003807/0.5951, allocations: 161 kB / 0.5668 GB, free: 8.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.5952, allocations: 85.11 kB / 0.5669 GB, free: 8.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.5966, allocations: 0.9266 MB / 0.5678 GB, free: 7.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.5966, allocations: 33.69 kB / 0.5678 GB, free: 7.551 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.5968, allocations: 236.1 kB / 0.568 GB, free: 7.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.5969, allocations: 23.7 kB / 0.5681 GB, free: 7.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.5969, allocations: 8.875 kB / 0.5681 GB, free: 7.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5971, allocations: 370.7 kB / 0.5684 GB, free: 6.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.5971, allocations: 24 kB / 0.5685 GB, free: 6.891 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.5972, allocations: 52.55 kB / 0.5685 GB, free: 6.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.383e-05/0.5973, allocations: 40.11 kB / 0.5685 GB, free: 6.789 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5973, allocations: 0 / 0.5685 GB, free: 6.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000252/0.5976, allocations: 165 kB / 0.5687 GB, free: 6.621 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5976, allocations: 4 kB / 0.5687 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5976, allocations: 0 / 0.5687 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5976, allocations: 7.984 kB / 0.5687 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.5978, allocations: 23.88 kB / 0.5687 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5978, allocations: 4.062 kB / 0.5687 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.5979, allocations: 23.83 kB / 0.5688 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.5979, allocations: 4 kB / 0.5688 GB, free: 6.555 MB / 394.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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete 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 8.195e-05/0.598, allocations: 121.9 kB / 0.5689 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.5981, allocations: 51.44 kB / 0.5689 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.5984, allocations: 189.6 kB / 0.5691 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5984, allocations: 7.875 kB / 0.5691 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5984, allocations: 8 kB / 0.5691 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5984, allocations: 0 / 0.5691 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.5988, allocations: 393.2 kB / 0.5695 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5988, allocations: 0 / 0.5695 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.5989, allocations: 11.98 kB / 0.5695 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.5989, allocations: 0 / 0.5695 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.5989, allocations: 4 kB / 0.5695 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5989, allocations: 256 / 0.5695 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5989, allocations: 0 / 0.5695 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.5993, allocations: 230.9 kB / 0.5697 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.5996, allocations: 196.4 kB / 0.5699 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.5996, allocations: 4 kB / 0.5699 GB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.5997, allocations: 7.984 kB / 0.5699 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.5998, allocations: 15.98 kB / 0.57 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.5998, allocations: 4 kB / 0.57 GB, free: 5.227 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009073/0.6007, allocations: 0.7474 MB / 0.5707 GB, free: 4.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6007, allocations: 3.938 kB / 0.5707 GB, free: 4.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.6011, allocations: 80 kB / 0.5708 GB, free: 4.402 MB / 394.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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * 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.001448/0.6025, allocations: 1.096 MB / 0.5718 GB, free: 3.344 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.6027, allocations: 83.92 kB / 0.5719 GB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6027, allocations: 0 / 0.5719 GB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.6028, allocations: 43.92 kB / 0.572 GB, free: 3.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.6032, allocations: 63.06 kB / 0.572 GB, free: 3.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.6048, allocations: 0.8909 MB / 0.5729 GB, free: 2.234 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.6053, allocations: 0.8546 MB / 0.5737 GB, free: 1.355 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.6055, allocations: 86.94 kB / 0.5738 GB, free: 1.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.6057, allocations: 159.4 kB / 0.574 GB, free: 1.113 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6057, allocations: 0 / 0.574 GB, free: 1.113 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.6307, allocations: 9.062 MB / 0.5828 GB, free: 8.074 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.6309, allocations: 183.7 kB / 0.583 GB, free: 7.852 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.866, allocations: 0 / 0.583 GB, free: 7.852 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat