Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.001045/0.001045, allocations: 177.6 kB / 8.005 MB, free: 1.07 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.587/1.587, allocations: 205.3 MB / 213.7 MB, free: 1.746 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.0008408/0.0008409, allocations: 82.62 kB / 261.7 MB, free: 1.688 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.1966/0.1966, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.479e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.4923, allocations: 86.82 MB / 0.5508 GB, free: 7.777 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.4926, allocations: 79.48 kB / 0.5509 GB, free: 7.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02011/0.5127, allocations: 6.427 MB / 0.5572 GB, free: 2.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.5128, allocations: 0 / 0.5572 GB, free: 2.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.196e-05/0.5129, allocations: 11.94 kB / 0.5572 GB, free: 2.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008173/0.5137, allocations: 0.6054 MB / 0.5578 GB, free: 1.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.5138, allocations: 12.03 kB / 0.5578 GB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.5139, allocations: 51.34 kB / 0.5578 GB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00085/0.5147, allocations: 486.6 kB / 0.5583 GB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.5148, allocations: 4 kB / 0.5583 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.5148, allocations: 0 / 0.5583 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.481e-05/0.5149, allocations: 26.61 kB / 0.5583 GB, free: 1.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.515, allocations: 83.69 kB / 0.5584 GB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.515, allocations: 3.938 kB / 0.5584 GB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.5151, allocations: 4 kB / 0.5584 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5151, allocations: 4 kB / 0.5584 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.5154, allocations: 360.6 kB / 0.5588 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.5156, allocations: 86.33 kB / 0.5588 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.5156, allocations: 43.02 kB / 0.5589 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.5157, allocations: 0 / 0.5589 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.5158, allocations: 98.28 kB / 0.559 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.5158, allocations: 0 / 0.559 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003003/0.5161, allocations: 167.1 kB / 0.5591 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.5162, allocations: 81.11 kB / 0.5592 GB, free: 460 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.5172, allocations: 0.9066 MB / 0.5601 GB, free: 15.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.5173, allocations: 25.7 kB / 0.5601 GB, free: 15.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.5175, allocations: 230.8 kB / 0.5603 GB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.5175, allocations: 30.2 kB / 0.5604 GB, free: 15.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.5175, allocations: 0 / 0.5604 GB, free: 15.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5177, allocations: 367 kB / 0.5607 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.5178, allocations: 24.81 kB / 0.5607 GB, free: 15.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.541e-05/0.5179, allocations: 56.48 kB / 0.5608 GB, free: 15.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.867e-05/0.518, allocations: 30.98 kB / 0.5608 GB, free: 15.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.518, allocations: 0 / 0.5608 GB, free: 15.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002354/0.5182, allocations: 157.1 kB / 0.561 GB, free: 14.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5183, allocations: 8 kB / 0.561 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.5183, allocations: 0 / 0.561 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5183, allocations: 8.047 kB / 0.561 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.5184, allocations: 23.98 kB / 0.561 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.5185, allocations: 0 / 0.561 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.5186, allocations: 15.84 kB / 0.561 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.5186, allocations: 4 kB / 0.561 GB, free: 14.93 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.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 9.158e-05/0.5187, allocations: 127.5 kB / 0.5612 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002386/0.5189, allocations: 153.8 kB / 0.5613 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.519, allocations: 59.33 kB / 0.5614 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.5193, allocations: 188.2 kB / 0.5615 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.5193, allocations: 0 / 0.5615 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5193, allocations: 4.062 kB / 0.5615 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5193, allocations: 7.938 kB / 0.5616 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.5197, allocations: 367 kB / 0.5619 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5197, allocations: 0 / 0.5619 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.5197, allocations: 11.94 kB / 0.5619 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.5197, allocations: 4 kB / 0.5619 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.5197, allocations: 3.984 kB / 0.5619 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5198, allocations: 4 kB / 0.5619 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5198, allocations: 4 kB / 0.5619 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.52, allocations: 207.4 kB / 0.5621 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.5203, allocations: 193.4 kB / 0.5623 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.5203, allocations: 7.812 kB / 0.5623 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.5204, allocations: 11.98 kB / 0.5623 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.5205, allocations: 8 kB / 0.5623 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.5205, allocations: 7.984 kB / 0.5623 GB, free: 13.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007753/0.5213, allocations: 0.7156 MB / 0.563 GB, free: 13.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5213, allocations: 0 / 0.563 GB, free: 13.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003219/0.5216, allocations: 83.92 kB / 0.5631 GB, free: 13.05 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,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.00137/0.523, allocations: 1.064 MB / 0.5642 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.5232, allocations: 73.92 kB / 0.5642 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5232, allocations: 0 / 0.5642 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.5233, allocations: 38.94 kB / 0.5643 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.5237, allocations: 68.34 kB / 0.5643 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.525, allocations: 0.8964 MB / 0.5652 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.5256, allocations: 0.8492 MB / 0.566 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.5257, allocations: 94.5 kB / 0.5661 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.5259, allocations: 163 kB / 0.5663 GB, free: 10.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.526, allocations: 0 / 0.5663 GB, free: 10.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.5549, allocations: 8.129 MB / 0.5742 GB, free: 1.934 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003013/0.5552, allocations: 160.9 kB / 0.5744 GB, free: 1.742 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.576, allocations: 4 kB / 0.5744 GB, free: 1.738 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat