Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test23",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.002174/0.002173, allocations: 177.8 kB / 8.36 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.173/2.173, 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.001129/0.001129, allocations: 90.89 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.3032/0.3032, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.592e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4492, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.6189, allocations: 86.92 MB / 0.5509 GB, free: 12.28 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.6193, allocations: 79.95 kB / 0.551 GB, free: 12.2 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0244/0.6437, allocations: 5.271 MB / 0.5561 GB, free: 6.938 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6437, allocations: 0 / 0.5561 GB, free: 6.938 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.394e-05/0.6438, allocations: 15.94 kB / 0.5561 GB, free: 6.922 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006048/0.6444, allocations: 394.9 kB / 0.5565 GB, free: 6.492 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.6445, allocations: 8.031 kB / 0.5565 GB, free: 6.484 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.6445, allocations: 7.906 kB / 0.5565 GB, free: 6.477 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.645, allocations: 227.4 kB / 0.5567 GB, free: 6.211 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.645, allocations: 3.938 kB / 0.5567 GB, free: 6.207 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.645, allocations: 4 kB / 0.5567 GB, free: 6.203 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000103/0.6452, allocations: 19.98 kB / 0.5568 GB, free: 6.184 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.6453, allocations: 49.69 kB / 0.5568 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.6453, allocations: 0 / 0.5568 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.6453, allocations: 0 / 0.5568 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6454, allocations: 0 / 0.5568 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.6459, allocations: 277.4 kB / 0.5571 GB, free: 5.82 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.6461, allocations: 50.69 kB / 0.5571 GB, free: 5.762 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.6461, allocations: 20.98 kB / 0.5571 GB, free: 5.738 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.6462, allocations: 0 / 0.5571 GB, free: 5.738 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.6463, allocations: 63.39 kB / 0.5572 GB, free: 5.664 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.6464, allocations: 0 / 0.5572 GB, free: 5.664 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006226/0.647, allocations: 153.2 kB / 0.5573 GB, free: 5.508 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.6471, allocations: 51.41 kB / 0.5574 GB, free: 5.445 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.6474, allocations: 190.3 kB / 0.5576 GB, free: 5.246 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.6474, allocations: 33.69 kB / 0.5576 GB, free: 5.207 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.6475, allocations: 162.6 kB / 0.5578 GB, free: 5.047 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.6476, allocations: 19.66 kB / 0.5578 GB, free: 5.027 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.6476, allocations: 0 / 0.5578 GB, free: 5.027 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6477, allocations: 322.8 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.567e-05/0.6478, allocations: 16 kB / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.6479, allocations: 33.66 kB / 0.5581 GB, free: 4.648 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.13e-05/0.648, allocations: 23.98 kB / 0.5582 GB, free: 4.625 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.648, allocations: 0 / 0.5582 GB, free: 4.625 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002232/0.6482, allocations: 81.69 kB / 0.5582 GB, free: 4.539 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6482, allocations: 4 kB / 0.5582 GB, free: 4.535 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6483, allocations: 0 / 0.5582 GB, free: 4.535 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6483, allocations: 0 / 0.5582 GB, free: 4.535 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.6485, allocations: 27.91 kB / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6485, allocations: 0 / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.6486, allocations: 4 kB / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.6486, allocations: 3.953 kB / 0.5583 GB, free: 4.5 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 (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 0.0001077/0.6488, allocations: 109 kB / 0.5584 GB, free: 4.387 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002369/0.649, allocations: 97.48 kB / 0.5585 GB, free: 4.285 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.6491, allocations: 11.91 kB / 0.5585 GB, free: 4.273 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.6494, allocations: 115.8 kB / 0.5586 GB, free: 4.156 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-06/0.6494, allocations: 0 / 0.5586 GB, free: 4.156 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.6494, allocations: 3.953 kB / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6494, allocations: 0 / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006767/0.6501, allocations: 387.8 kB / 0.559 GB, free: 3.727 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6502, allocations: 4 kB / 0.559 GB, free: 3.723 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.884e-05/0.6502, allocations: 8 kB / 0.559 GB, free: 3.715 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.6503, allocations: 3.938 kB / 0.559 GB, free: 3.711 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.6503, allocations: 3.984 kB / 0.559 GB, free: 3.707 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.6503, allocations: 7.953 kB / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6503, allocations: 0 / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.6506, allocations: 210 kB / 0.5592 GB, free: 3.469 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.6508, allocations: 96.92 kB / 0.5593 GB, free: 3.355 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.6508, allocations: 7.938 kB / 0.5593 GB, free: 3.348 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.6509, allocations: 4 kB / 0.5593 GB, free: 3.344 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.651, allocations: 7.938 kB / 0.5593 GB, free: 3.336 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.651, allocations: 7.984 kB / 0.5593 GB, free: 3.328 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.6512, allocations: 144.9 kB / 0.5595 GB, free: 3.188 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6512, allocations: 4 kB / 0.5595 GB, free: 3.184 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004/0.6517, allocations: 27.94 kB / 0.5595 GB, free: 3.156 MB / 395.1 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.001804/0.6535, allocations: 1.107 MB / 0.5606 GB, free: 2.07 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.6537, allocations: 55.92 kB / 0.5606 GB, free: 2.016 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.6538, allocations: 4.062 kB / 0.5606 GB, free: 2.012 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.6539, allocations: 27.94 kB / 0.5607 GB, free: 1.984 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.6543, allocations: 23.84 kB / 0.5607 GB, free: 1.961 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.6552, allocations: 257.3 kB / 0.5609 GB, free: 1.668 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.6555, allocations: 0.708 MB / 0.5616 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.6556, allocations: 39.48 kB / 0.5616 GB, free: 0.8945 MB / 395.1 MB Notification: Performance of SimCode: time 1.243e-06/0.6557, allocations: 0 / 0.5616 GB, free: 0.8945 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.549/3.205, allocations: 2.531 MB / 0.5641 GB, free: 14.38 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat