Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",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.001523/0.001523, allocations: 183.4 kB / 13.19 MB, free: 2.129 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.811/1.811, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.00086/0.0008601, allocations: 85.31 kB / 267 MB, free: 9.277 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.4442/0.4442, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.671e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1474, allocations: 58.86 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4894/0.6369, allocations: 87.61 MB / 0.5585 GB, free: 16.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.6372, allocations: 72.44 kB / 0.5585 GB, free: 16.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01463/0.6519, allocations: 5.369 MB / 0.5638 GB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.652, allocations: 0.5469 kB / 0.5638 GB, free: 13.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.652, allocations: 4 kB / 0.5638 GB, free: 13.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004377/0.6524, allocations: 405.6 kB / 0.5642 GB, free: 12.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.6525, allocations: 12.03 kB / 0.5642 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.6525, allocations: 35.19 kB / 0.5642 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.6526, allocations: 11.34 kB / 0.5642 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.6528, allocations: 214.7 kB / 0.5644 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.6529, allocations: 4 kB / 0.5644 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.6529, allocations: 0 / 0.5644 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.653, allocations: 55.95 kB / 0.5645 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.653, allocations: 4 kB / 0.5645 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.6531, allocations: 10.42 kB / 0.5645 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6531, allocations: 0 / 0.5645 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.518e-05/0.6531, allocations: 17.44 kB / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.6535, allocations: 288.2 kB / 0.5648 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.6536, allocations: 61.48 kB / 0.5649 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.6537, allocations: 20.48 kB / 0.5649 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.6537, allocations: 0 / 0.5649 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.6538, allocations: 70.75 kB / 0.565 GB, free: 12.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.6538, allocations: 0 / 0.565 GB, free: 12.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004942/0.6543, allocations: 168.2 kB / 0.5651 GB, free: 11.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.6544, allocations: 51.41 kB / 0.5652 GB, free: 11.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.6545, allocations: 170.1 kB / 0.5653 GB, free: 11.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.6546, allocations: 29.7 kB / 0.5654 GB, free: 11.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.6546, allocations: 100.7 kB / 0.5654 GB, free: 11.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.6547, allocations: 22.66 kB / 0.5655 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/0.6547, allocations: 0 / 0.5655 GB, free: 11.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.6547, allocations: 324.9 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.6548, allocations: 18.62 kB / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.6549, allocations: 38.28 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.6549, allocations: 29.86 kB / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6549, allocations: 0 / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001538/0.6551, allocations: 100.9 kB / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6551, allocations: 4 kB / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6551, allocations: 4 kB / 0.566 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.6552, allocations: 2.719 kB / 0.566 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.6553, allocations: 15.94 kB / 0.566 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.6553, allocations: 3.953 kB / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.6554, allocations: 7.984 kB / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.6554, allocations: 8.031 kB / 0.566 GB, free: 11.11 MB / 394.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 () * 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 6.669e-05/0.6554, allocations: 108.7 kB / 0.5661 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.6555, allocations: 7.906 kB / 0.5661 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.6557, allocations: 125.6 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6557, allocations: 0 / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6557, allocations: 0 / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.6558, allocations: 3.953 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.6562, allocations: 408.4 kB / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6562, allocations: 0 / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.6562, allocations: 8 kB / 0.5666 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6562, allocations: 7.984 kB / 0.5666 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.6563, allocations: 7.266 kB / 0.5666 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6563, allocations: 0 / 0.5666 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6563, allocations: 7.938 kB / 0.5667 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.6565, allocations: 215.9 kB / 0.5669 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.6566, allocations: 104.1 kB / 0.567 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.6566, allocations: 4.141 kB / 0.567 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.6567, allocations: 11.25 kB / 0.567 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.6567, allocations: 7.984 kB / 0.567 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.6568, allocations: 4 kB / 0.567 GB, free: 10.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.6569, allocations: 135.6 kB / 0.5671 GB, free: 9.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6569, allocations: 0 / 0.5671 GB, free: 9.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.6572, allocations: 39.3 kB / 0.5672 GB, free: 9.934 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001395/0.6586, allocations: 1.131 MB / 0.5683 GB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.6588, allocations: 56.8 kB / 0.5683 GB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6588, allocations: 0 / 0.5683 GB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.6589, allocations: 34 kB / 0.5683 GB, free: 8.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.6592, allocations: 23.53 kB / 0.5684 GB, free: 8.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.6597, allocations: 235.6 kB / 0.5686 GB, free: 8.535 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.6599, allocations: 0.7082 MB / 0.5693 GB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.314e-05/0.66, allocations: 12.86 kB / 0.5693 GB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.6601, allocations: 35.48 kB / 0.5693 GB, free: 7.77 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6601, allocations: 4 kB / 0.5693 GB, free: 7.766 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.6752, allocations: 2.999 MB / 0.5723 GB, free: 4.797 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.6754, allocations: 183.6 kB / 0.5724 GB, free: 4.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.259, allocations: 3.938 kB / 0.5724 GB, free: 4.57 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat