Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.0014, allocations: 175.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009175/0.0009174, allocations: 98.47 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2999/0.2999, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 12 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3488, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.4674, allocations: 90.21 MB / 0.5977 GB, free: 4.887 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.4677, allocations: 83.88 kB / 0.5978 GB, free: 4.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01229/0.48, allocations: 4.404 MB / 0.6021 GB, free: 416 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4801, allocations: 0 / 0.6021 GB, free: 416 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.4801, allocations: 4 kB / 0.6021 GB, free: 412 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006159/0.4807, allocations: 496.4 kB / 0.6026 GB, free: 15.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4807, allocations: 8.031 kB / 0.6026 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.4808, allocations: 38.56 kB / 0.6026 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.4809, allocations: 15.8 kB / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.4812, allocations: 225 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4812, allocations: 11.95 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.4812, allocations: 4 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.4814, allocations: 114.3 kB / 0.603 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4815, allocations: 0 / 0.603 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4815, allocations: 0 / 0.603 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.4815, allocations: 4 kB / 0.603 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.4817, allocations: 51.91 kB / 0.6031 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.4823, allocations: 0.5281 MB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.4826, allocations: 90.66 kB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.4826, allocations: 0 / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.4828, allocations: 91.22 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 3.045e-06/0.4828, allocations: 7.938 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003943/0.4832, allocations: 149.5 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.4833, allocations: 55.41 kB / 0.6039 GB, free: 14.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.4834, allocations: 174.6 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.4835, allocations: 25.7 kB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.4836, allocations: 119.9 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.4836, allocations: 31.8 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.4836, allocations: 0 / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4837, allocations: 326.8 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.4838, allocations: 35.97 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.973e-05/0.4839, allocations: 62.16 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.4841, allocations: 47.92 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4841, allocations: 0 / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002644/0.4843, allocations: 145.4 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4844, allocations: 5.875 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4844, allocations: 0 / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4844, allocations: 4 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.4845, allocations: 23.98 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4845, allocations: 3.938 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.4846, allocations: 15.89 kB / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.4846, allocations: 15.95 kB / 0.6049 GB, free: 13.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked 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.0001213/0.4847, allocations: 130.8 kB / 0.6051 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.4848, allocations: 11.91 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.4851, allocations: 138.9 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4851, allocations: 0 / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4851, allocations: 0 / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4851, allocations: 3.984 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.4853, allocations: 221.5 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4853, allocations: 0 / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.4854, allocations: 19.98 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4854, allocations: 0 / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4854, allocations: 4 kB / 0.6054 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4854, allocations: 11.88 kB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4854, allocations: 0 / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.4858, allocations: 200.8 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.4859, allocations: 93.03 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.4859, allocations: 4 kB / 0.6057 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.486, allocations: 4 kB / 0.6057 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.486, allocations: 7.984 kB / 0.6057 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.4861, allocations: 4 kB / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.4862, allocations: 141.2 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4862, allocations: 4.062 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.4864, allocations: 39.83 kB / 0.6059 GB, free: 12.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001394/0.4878, allocations: 1.047 MB / 0.607 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.4881, allocations: 83.84 kB / 0.607 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4881, allocations: 0 / 0.607 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.4882, allocations: 43.97 kB / 0.6071 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.4884, allocations: 35.44 kB / 0.6071 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.49, allocations: 1.462 MB / 0.6085 GB, free: 9.543 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.4903, allocations: 0.7161 MB / 0.6092 GB, free: 8.801 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.15e-05/0.4904, allocations: 21.06 kB / 0.6093 GB, free: 8.781 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.4905, allocations: 43.42 kB / 0.6093 GB, free: 8.738 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4905, allocations: 0 / 0.6093 GB, free: 8.738 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.505, allocations: 3.314 MB / 0.6125 GB, free: 5.562 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/0.5053, allocations: 214.1 kB / 0.6127 GB, free: 5.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.188, allocations: 0 / 0.6127 GB, free: 5.32 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat