Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.001459/0.001459, allocations: 183.7 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.794/1.794, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0007809/0.0007811, allocations: 95.8 kB / 267.1 MB, free: 9.266 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.4435/0.4435, allocations: 43.46 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.933e-05/4.935e-05, allocations: 4 kB / 425.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1603, allocations: 58.85 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4818/0.6422, allocations: 87.62 MB / 0.5585 GB, free: 1.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.6425, allocations: 71.97 kB / 0.5586 GB, free: 1.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01497/0.6574, allocations: 5.321 MB / 0.5637 GB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6575, allocations: 3.172 kB / 0.5638 GB, free: 11.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.6575, allocations: 0 / 0.5638 GB, free: 11.95 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.0005095/0.658, allocations: 401.2 kB / 0.5641 GB, free: 11.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.6581, allocations: 8.031 kB / 0.5641 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.6581, allocations: 42.55 kB / 0.5642 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.6582, allocations: 11.34 kB / 0.5642 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.6585, allocations: 204 kB / 0.5644 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.6585, allocations: 3.984 kB / 0.5644 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.6586, allocations: 0 / 0.5644 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.6587, allocations: 53.69 kB / 0.5644 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.6587, allocations: 3.984 kB / 0.5644 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.6588, allocations: 5.375 kB / 0.5645 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.6588, allocations: 0.7656 kB / 0.5645 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.293e-05/0.6588, allocations: 23.92 kB / 0.5645 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.6593, allocations: 300.8 kB / 0.5648 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.6595, allocations: 54.69 kB / 0.5648 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.6595, allocations: 20.97 kB / 0.5648 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.6595, allocations: 0 / 0.5648 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.6597, allocations: 71.34 kB / 0.5649 GB, free: 10.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.6597, allocations: 3.609 kB / 0.5649 GB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005051/0.6602, allocations: 159.4 kB / 0.5651 GB, free: 10.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.6603, allocations: 51.41 kB / 0.5651 GB, free: 10.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.6604, allocations: 166.6 kB / 0.5653 GB, free: 10.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.6605, allocations: 25.7 kB / 0.5653 GB, free: 10.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.6605, allocations: 100.1 kB / 0.5654 GB, free: 10.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.6606, allocations: 23.66 kB / 0.5654 GB, free: 10.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.6606, allocations: 8.844 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.6607, allocations: 322.8 kB / 0.5657 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.6608, allocations: 16 kB / 0.5657 GB, free: 9.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.512e-05/0.6608, allocations: 38.64 kB / 0.5658 GB, free: 9.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.6609, allocations: 20 kB / 0.5658 GB, free: 9.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.6609, allocations: 0 / 0.5658 GB, free: 9.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001517/0.6611, allocations: 97.52 kB / 0.5659 GB, free: 9.551 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6611, allocations: 8.031 kB / 0.5659 GB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6611, allocations: 4 kB / 0.5659 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.6611, allocations: 0 / 0.5659 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.6612, allocations: 12 kB / 0.5659 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.6613, allocations: 11.88 kB / 0.5659 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.6613, allocations: 8 kB / 0.5659 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.6613, allocations: 4.188 kB / 0.5659 GB, free: 9.504 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 7.742e-05/0.6614, allocations: 106.1 kB / 0.566 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.6614, allocations: 19.84 kB / 0.5661 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.6617, allocations: 114.3 kB / 0.5662 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.6617, allocations: 4 kB / 0.5662 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6617, allocations: 0 / 0.5662 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.6617, allocations: 3.953 kB / 0.5662 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.6622, allocations: 403.3 kB / 0.5666 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6622, allocations: 0 / 0.5666 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.6622, allocations: 12 kB / 0.5666 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6622, allocations: 4.031 kB / 0.5666 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.6622, allocations: 3.953 kB / 0.5666 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.6623, allocations: 7.984 kB / 0.5666 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6623, allocations: 3.938 kB / 0.5666 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.6625, allocations: 214 kB / 0.5668 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.6626, allocations: 92.92 kB / 0.5669 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.6626, allocations: 8.141 kB / 0.5669 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.6627, allocations: 11.98 kB / 0.5669 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.6627, allocations: 8 kB / 0.5669 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.6627, allocations: 7.984 kB / 0.5669 GB, free: 8.391 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.6629, allocations: 131.2 kB / 0.567 GB, free: 8.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6629, allocations: 0 / 0.567 GB, free: 8.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000264/0.6631, allocations: 31.94 kB / 0.5671 GB, free: 8.23 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.001374/0.6645, allocations: 1.142 MB / 0.5682 GB, free: 7.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.6647, allocations: 55.94 kB / 0.5682 GB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6647, allocations: 0 / 0.5682 GB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.6648, allocations: 39.91 kB / 0.5683 GB, free: 7.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.6651, allocations: 19.98 kB / 0.5683 GB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.6656, allocations: 213.4 kB / 0.5685 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.6659, allocations: 0.7045 MB / 0.5692 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.483e-05/0.666, allocations: 16.84 kB / 0.5692 GB, free: 6.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.666, allocations: 35.42 kB / 0.5692 GB, free: 5.992 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.666, allocations: 0 / 0.5692 GB, free: 5.992 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.6817, allocations: 2.932 MB / 0.5721 GB, free: 3.094 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.682, allocations: 183.6 kB / 0.5723 GB, free: 2.871 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.337, allocations: 0 / 0.5723 GB, free: 2.871 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat