Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",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.001539/0.001545, allocations: 178 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.001169, allocations: 82.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.304/0.304, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.912e-05, allocations: 8 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4125, allocations: 58.84 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.5831, allocations: 86.76 MB / 0.5507 GB, free: 12.45 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5834, allocations: 75.47 kB / 0.5508 GB, free: 12.38 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02393/0.6074, allocations: 5.223 MB / 0.5559 GB, free: 7.16 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6074, allocations: 0 / 0.5559 GB, free: 7.16 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.6075, allocations: 11.94 kB / 0.5559 GB, free: 7.148 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005786/0.6081, allocations: 390.9 kB / 0.5563 GB, free: 6.723 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.6081, allocations: 12.03 kB / 0.5563 GB, free: 6.711 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.6082, allocations: 7.906 kB / 0.5563 GB, free: 6.703 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.6087, allocations: 214.7 kB / 0.5565 GB, free: 6.453 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.6087, allocations: 7.938 kB / 0.5565 GB, free: 6.445 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.6087, allocations: 0 / 0.5565 GB, free: 6.445 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.367e-05/0.6088, allocations: 11.98 kB / 0.5565 GB, free: 6.434 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.609, allocations: 53.67 kB / 0.5566 GB, free: 6.375 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.609, allocations: 4 kB / 0.5566 GB, free: 6.371 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.609, allocations: 0 / 0.5566 GB, free: 6.371 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.609, allocations: 7.922 kB / 0.5566 GB, free: 6.363 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.6093, allocations: 162.2 kB / 0.5567 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.6095, allocations: 46.62 kB / 0.5568 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.6096, allocations: 16.86 kB / 0.5568 GB, free: 6.094 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.6096, allocations: 4 kB / 0.5568 GB, free: 6.09 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.6098, allocations: 67.47 kB / 0.5569 GB, free: 6.012 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 2.625e-06/0.6098, allocations: 0 / 0.5569 GB, free: 6.012 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002997/0.6101, allocations: 81.44 kB / 0.5569 GB, free: 5.926 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.6102, allocations: 51.41 kB / 0.557 GB, free: 5.863 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.6105, allocations: 189.5 kB / 0.5572 GB, free: 5.668 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.6105, allocations: 29.64 kB / 0.5572 GB, free: 5.633 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.6106, allocations: 170.6 kB / 0.5574 GB, free: 5.465 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.6107, allocations: 11.84 kB / 0.5574 GB, free: 5.453 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.6107, allocations: 0 / 0.5574 GB, free: 5.453 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6108, allocations: 318.8 kB / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.065e-05/0.6109, allocations: 8 kB / 0.5577 GB, free: 5.125 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.89e-05/0.6109, allocations: 25.72 kB / 0.5577 GB, free: 5.094 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.659e-05/0.611, allocations: 15.98 kB / 0.5577 GB, free: 5.078 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.611, allocations: 8 kB / 0.5577 GB, free: 5.07 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000187/0.6112, allocations: 69.48 kB / 0.5578 GB, free: 4.996 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.6113, allocations: 8 kB / 0.5578 GB, free: 4.988 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6113, allocations: 0 / 0.5578 GB, free: 4.988 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.6113, allocations: 0 / 0.5578 GB, free: 4.988 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.6115, allocations: 11.98 kB / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.6115, allocations: 4 kB / 0.5578 GB, free: 4.973 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.812e-05/0.6116, allocations: 0 / 0.5578 GB, free: 4.973 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.6116, allocations: 4 kB / 0.5578 GB, free: 4.969 MB / 395.1 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 (7): * Single equations (assignments): 7 * 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.0001078/0.6118, allocations: 109 kB / 0.5579 GB, free: 4.855 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002137/0.612, allocations: 85.47 kB / 0.558 GB, free: 4.766 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.612, allocations: 11.81 kB / 0.558 GB, free: 4.754 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.6123, allocations: 91.3 kB / 0.5581 GB, free: 4.66 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-06/0.6123, allocations: 0 / 0.5581 GB, free: 4.66 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6123, allocations: 0 / 0.5581 GB, free: 4.66 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6123, allocations: 0 / 0.5581 GB, free: 4.66 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.6126, allocations: 166.2 kB / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.6126, allocations: 3.953 kB / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.6127, allocations: 11.94 kB / 0.5583 GB, free: 4.445 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.6127, allocations: 11.92 kB / 0.5583 GB, free: 4.434 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.6127, allocations: 0 / 0.5583 GB, free: 4.434 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6127, allocations: 256 / 0.5583 GB, free: 4.434 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.6127, allocations: 4 kB / 0.5583 GB, free: 4.43 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.613, allocations: 105 kB / 0.5584 GB, free: 4.309 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.6131, allocations: 100.8 kB / 0.5585 GB, free: 4.191 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.6131, allocations: 4 kB / 0.5585 GB, free: 4.188 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.6133, allocations: 3.984 kB / 0.5585 GB, free: 4.184 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.6133, allocations: 8 kB / 0.5585 GB, free: 4.176 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.6133, allocations: 3.938 kB / 0.5585 GB, free: 4.172 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.6135, allocations: 152.2 kB / 0.5587 GB, free: 4.023 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6136, allocations: 0 / 0.5587 GB, free: 4.023 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.6139, allocations: 27.98 kB / 0.5587 GB, free: 3.996 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001565/0.6155, allocations: 0.8929 MB / 0.5596 GB, free: 3.121 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.6158, allocations: 35.98 kB / 0.5596 GB, free: 3.086 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6158, allocations: 3.938 kB / 0.5596 GB, free: 3.082 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.6159, allocations: 20 kB / 0.5596 GB, free: 3.062 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.6163, allocations: 27.83 kB / 0.5596 GB, free: 3.035 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/0.617, allocations: 244.3 kB / 0.5599 GB, free: 2.754 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.6174, allocations: 0.708 MB / 0.5606 GB, free: 2.02 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.6176, allocations: 35.42 kB / 0.5606 GB, free: 1.984 MB / 395.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6176, allocations: 0 / 0.5606 GB, free: 1.984 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.847/3.465, allocations: 2.335 MB / 0.5629 GB, free: 15.67 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat