Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31",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.001449/0.001455, allocations: 180.1 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.3 MB / 214.1 MB, free: 14.12 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.001026/0.001026, allocations: 79.47 kB / 262.1 MB, free: 13.87 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.2982/0.2982, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.827e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4142, allocations: 58.85 MB / 477.2 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.17/0.5842, allocations: 86.93 MB / 0.5509 GB, free: 12.35 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.5846, allocations: 75.91 kB / 0.551 GB, free: 12.28 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02477/0.6094, allocations: 5.228 MB / 0.5561 GB, free: 7.055 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6094, allocations: 0 / 0.5561 GB, free: 7.055 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.297e-05/0.6095, allocations: 11.94 kB / 0.5561 GB, free: 7.043 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.0006476/0.6101, allocations: 398.9 kB / 0.5565 GB, free: 6.609 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.6102, allocations: 8.031 kB / 0.5565 GB, free: 6.602 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.6103, allocations: 7.906 kB / 0.5565 GB, free: 6.594 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.6107, allocations: 221.5 kB / 0.5567 GB, free: 6.34 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.6107, allocations: 4 kB / 0.5567 GB, free: 6.336 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.6108, allocations: 3.984 kB / 0.5567 GB, free: 6.332 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001145/0.6109, allocations: 20 kB / 0.5567 GB, free: 6.312 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.6111, allocations: 57.67 kB / 0.5568 GB, free: 6.25 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.6111, allocations: 0 / 0.5568 GB, free: 6.25 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.6111, allocations: 0 / 0.5568 GB, free: 6.25 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.6111, allocations: 0 / 0.5568 GB, free: 6.25 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.6116, allocations: 269.4 kB / 0.557 GB, free: 5.949 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.6118, allocations: 46.69 kB / 0.5571 GB, free: 5.895 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.6119, allocations: 20.98 kB / 0.5571 GB, free: 5.871 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.6119, allocations: 3.984 kB / 0.5571 GB, free: 5.867 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.6121, allocations: 63.41 kB / 0.5572 GB, free: 5.793 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.6121, allocations: 0 / 0.5572 GB, free: 5.793 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006369/0.6127, allocations: 153.1 kB / 0.5573 GB, free: 5.637 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.6128, allocations: 55.41 kB / 0.5574 GB, free: 5.57 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.6131, allocations: 174.8 kB / 0.5575 GB, free: 5.395 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.6131, allocations: 25.7 kB / 0.5575 GB, free: 5.363 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.6133, allocations: 162.6 kB / 0.5577 GB, free: 5.203 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.6133, allocations: 23.7 kB / 0.5577 GB, free: 5.18 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.6133, allocations: 0 / 0.5577 GB, free: 5.18 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6135, allocations: 314.8 kB / 0.558 GB, free: 4.863 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.6136, allocations: 16 kB / 0.558 GB, free: 4.848 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.6137, allocations: 37.64 kB / 0.5581 GB, free: 4.805 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.861e-05/0.6138, allocations: 20 kB / 0.5581 GB, free: 4.785 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6138, allocations: 0 / 0.5581 GB, free: 4.785 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002308/0.614, allocations: 85.77 kB / 0.5582 GB, free: 4.695 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.6141, allocations: 4 kB / 0.5582 GB, free: 4.691 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.6141, allocations: 7.938 kB / 0.5582 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.6141, allocations: 0 / 0.5582 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.6143, allocations: 19.94 kB / 0.5582 GB, free: 4.664 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.6143, allocations: 0 / 0.5582 GB, free: 4.664 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-05/0.6145, allocations: 7.984 kB / 0.5582 GB, free: 4.656 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.6145, allocations: 11.98 kB / 0.5582 GB, free: 4.645 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.0001185/0.6146, allocations: 101 kB / 0.5583 GB, free: 4.539 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002518/0.6149, allocations: 93.56 kB / 0.5584 GB, free: 4.441 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.6149, allocations: 15.84 kB / 0.5584 GB, free: 4.426 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.6153, allocations: 114.4 kB / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6153, allocations: 0 / 0.5585 GB, free: 4.309 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.6153, allocations: 7.938 kB / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6153, allocations: 0 / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/0.616, allocations: 375.9 kB / 0.5589 GB, free: 3.887 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.616, allocations: 0 / 0.5589 GB, free: 3.887 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.342e-05/0.6161, allocations: 15.92 kB / 0.5589 GB, free: 3.871 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.6161, allocations: 4.188 kB / 0.5589 GB, free: 3.867 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.6161, allocations: 4 kB / 0.5589 GB, free: 3.863 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6161, allocations: 3.953 kB / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.6162, allocations: 0 / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.6165, allocations: 214 kB / 0.5591 GB, free: 3.625 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.185e-05/0.6166, allocations: 96.91 kB / 0.5592 GB, free: 3.512 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.6167, allocations: 3.953 kB / 0.5592 GB, free: 3.508 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.6168, allocations: 8 kB / 0.5592 GB, free: 3.5 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.6169, allocations: 11.92 kB / 0.5592 GB, free: 3.488 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.6169, allocations: 4 kB / 0.5593 GB, free: 3.484 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.6171, allocations: 135.4 kB / 0.5594 GB, free: 3.352 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6171, allocations: 4 kB / 0.5594 GB, free: 3.348 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004072/0.6175, allocations: 27.98 kB / 0.5594 GB, free: 3.32 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.001857/0.6194, allocations: 1.1 MB / 0.5605 GB, free: 2.234 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.6197, allocations: 55.92 kB / 0.5605 GB, free: 2.18 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6197, allocations: 4.062 kB / 0.5605 GB, free: 2.176 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.6198, allocations: 27.94 kB / 0.5606 GB, free: 2.148 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.6203, allocations: 23.84 kB / 0.5606 GB, free: 2.125 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008294/0.6211, allocations: 256.5 kB / 0.5608 GB, free: 1.82 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.6215, allocations: 0.708 MB / 0.5615 GB, free: 1.086 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.6217, allocations: 39.48 kB / 0.5616 GB, free: 1.047 MB / 395.1 MB Notification: Performance of SimCode: time 9.61e-07/0.6217, allocations: 0 / 0.5616 GB, free: 1.047 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.706/3.328, allocations: 2.452 MB / 0.564 GB, free: 14.6 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat