Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",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.001549/0.001549, allocations: 180.9 kB / 8.006 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.676/1.676, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008268/0.0008271, allocations: 92.03 kB / 261.8 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.2048/0.2048, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.721e-05, allocations: 8 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3932/0.506, allocations: 86.81 MB / 0.5508 GB, free: 7.711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.5063, allocations: 78.75 kB / 0.5509 GB, free: 7.672 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01434/0.5206, allocations: 6.392 MB / 0.5571 GB, free: 2.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5207, allocations: 0 / 0.5571 GB, free: 2.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.589e-05/0.5208, allocations: 7.938 kB / 0.5571 GB, free: 2.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006842/0.5215, allocations: 0.5893 MB / 0.5577 GB, free: 1.887 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.5215, allocations: 12.03 kB / 0.5577 GB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.122e-05/0.5216, allocations: 51.34 kB / 0.5578 GB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006825/0.5223, allocations: 482.1 kB / 0.5582 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.5223, allocations: 0 / 0.5582 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.5224, allocations: 4 kB / 0.5582 GB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.819e-05/0.5225, allocations: 27.73 kB / 0.5583 GB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.5226, allocations: 77.5 kB / 0.5583 GB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5226, allocations: 0 / 0.5583 GB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.5226, allocations: 8 kB / 0.5584 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5226, allocations: 0 / 0.5584 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.523, allocations: 363.9 kB / 0.5587 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.5232, allocations: 86.91 kB / 0.5588 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.5233, allocations: 41.39 kB / 0.5588 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.5233, allocations: 4 kB / 0.5588 GB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.5235, allocations: 103.5 kB / 0.5589 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.5235, allocations: 0 / 0.5589 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000276/0.5237, allocations: 157.8 kB / 0.5591 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.5238, allocations: 88.92 kB / 0.5592 GB, free: 456 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5248, allocations: 0.8754 MB / 0.56 GB, free: 15.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.5248, allocations: 29.7 kB / 0.56 GB, free: 15.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.525, allocations: 229 kB / 0.5603 GB, free: 15.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.525, allocations: 26.75 kB / 0.5603 GB, free: 15.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-06/0.525, allocations: 0 / 0.5603 GB, free: 15.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5252, allocations: 370.5 kB / 0.5606 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.557e-05/0.5253, allocations: 25.73 kB / 0.5607 GB, free: 15.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.5253, allocations: 49.5 kB / 0.5607 GB, free: 15.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.6e-05/0.5254, allocations: 30.67 kB / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5254, allocations: 0 / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002211/0.5256, allocations: 158.5 kB / 0.5609 GB, free: 15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.5256, allocations: 4 kB / 0.5609 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5257, allocations: 0 / 0.5609 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5257, allocations: 8 kB / 0.5609 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.5258, allocations: 27.42 kB / 0.5609 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.5258, allocations: 0 / 0.5609 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.526, allocations: 11.91 kB / 0.5609 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.526, allocations: 7.938 kB / 0.5609 GB, free: 14.95 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 0.0001062/0.5261, allocations: 116.7 kB / 0.5611 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002565/0.5264, allocations: 159.9 kB / 0.5612 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.5264, allocations: 55.34 kB / 0.5613 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.5267, allocations: 189.2 kB / 0.5614 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5268, allocations: 0 / 0.5614 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5268, allocations: 0 / 0.5614 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5268, allocations: 3.938 kB / 0.5614 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.5271, allocations: 366.2 kB / 0.5618 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5271, allocations: 384 / 0.5618 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.5272, allocations: 12 kB / 0.5618 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5272, allocations: 4 kB / 0.5618 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.5272, allocations: 7.922 kB / 0.5618 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5272, allocations: 4 kB / 0.5618 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5272, allocations: 0 / 0.5618 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.5275, allocations: 212.4 kB / 0.562 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.5277, allocations: 192.2 kB / 0.5622 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.5278, allocations: 4 kB / 0.5622 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.5279, allocations: 7.984 kB / 0.5622 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.528, allocations: 8 kB / 0.5622 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.528, allocations: 7.984 kB / 0.5622 GB, free: 13.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000721/0.5287, allocations: 0.6952 MB / 0.5629 GB, free: 13.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5287, allocations: 0 / 0.5629 GB, free: 13.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.529, allocations: 79.94 kB / 0.563 GB, free: 13.09 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.001275/0.5303, allocations: 1.068 MB / 0.564 GB, free: 12.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.5305, allocations: 71.23 kB / 0.5641 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5305, allocations: 0 / 0.5641 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.5306, allocations: 42.98 kB / 0.5641 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.531, allocations: 64.97 kB / 0.5642 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.5323, allocations: 0.8742 MB / 0.5651 GB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.5328, allocations: 0.8464 MB / 0.5659 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.5329, allocations: 90.7 kB / 0.566 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.5331, allocations: 156.9 kB / 0.5661 GB, free: 10.13 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5331, allocations: 4 kB / 0.5661 GB, free: 10.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.5595, allocations: 7.964 MB / 0.5739 GB, free: 2.168 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/0.5599, allocations: 164.9 kB / 0.5741 GB, free: 1.973 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.623, allocations: 0 / 0.5741 GB, free: 1.973 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat