Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01712/0.01712, allocations: 166.5 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.702/1.702, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00197/0.001969, allocations: 111 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4604/0.4604, allocations: 38.04 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004579, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1117, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.5106, allocations: 75.86 MB / 487.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.5109, allocations: 69.34 kB / 487.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01622/0.5271, allocations: 4.334 MB / 492 MB, free: 8.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5272, allocations: 0 / 492 MB, free: 8.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.5272, allocations: 4 kB / 492 MB, free: 8.117 MB / 330.7 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.0005096/0.5277, allocations: 462.9 kB / 492.4 MB, free: 7.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.5278, allocations: 12.03 kB / 492.4 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.5278, allocations: 30.56 kB / 492.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.5279, allocations: 7.906 kB / 492.5 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.5282, allocations: 221.5 kB / 492.7 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.5282, allocations: 0 / 492.7 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.5282, allocations: 4 kB / 492.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.5283, allocations: 45.31 kB / 492.7 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5284, allocations: 4 kB / 492.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5284, allocations: 0 / 492.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5284, allocations: 0 / 492.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.373e-05/0.5285, allocations: 16.95 kB / 492.8 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.5289, allocations: 316.1 kB / 493.1 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.5291, allocations: 38.5 kB / 493.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.5292, allocations: 4 kB / 493.1 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.5293, allocations: 59.44 kB / 493.2 MB, free: 6.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.5293, allocations: 0 / 493.2 MB, free: 6.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004679/0.5298, allocations: 136.3 kB / 493.3 MB, free: 6.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.5298, allocations: 51.41 kB / 493.3 MB, free: 6.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.5301, allocations: 221 kB / 493.6 MB, free: 6.426 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.5302, allocations: 37.5 kB / 493.6 MB, free: 6.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.5302, allocations: 115 kB / 493.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.5303, allocations: 11.7 kB / 493.7 MB, free: 6.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.5303, allocations: 4 kB / 493.7 MB, free: 6.277 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.5303, allocations: 326.5 kB / 494 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.796e-05/0.5304, allocations: 27.48 kB / 494.1 MB, free: 5.938 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.005e-05/0.5305, allocations: 19.69 kB / 494.1 MB, free: 5.926 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.473e-05/0.5306, allocations: 53.25 kB / 494.1 MB, free: 5.879 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5306, allocations: 0 / 494.1 MB, free: 5.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000244/0.5309, allocations: 134.3 kB / 494.3 MB, free: 5.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.5309, allocations: 37.69 kB / 494.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5309, allocations: 4 kB / 494.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.5309, allocations: 0 / 494.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.531, allocations: 12.06 kB / 494.3 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.531, allocations: 0 / 494.3 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.5311, allocations: 7.875 kB / 494.3 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.5311, allocations: 7.938 kB / 494.3 MB, free: 5.684 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001007/0.5313, allocations: 126.8 kB / 494.5 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.5313, allocations: 19.8 kB / 494.5 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.5315, allocations: 101.9 kB / 494.6 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5316, allocations: 0 / 494.6 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5316, allocations: 0 / 494.6 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5316, allocations: 0 / 494.6 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.532, allocations: 381.8 kB / 495 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.532, allocations: 0 / 495 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.5321, allocations: 8 kB / 495 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5321, allocations: 3.938 kB / 495 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.5321, allocations: 0 / 495 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5321, allocations: 4 kB / 495 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5321, allocations: 0 / 495 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.5323, allocations: 186.3 kB / 495.2 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.5324, allocations: 96.94 kB / 495.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.5325, allocations: 0 / 495.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.5326, allocations: 7.875 kB / 495.3 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.5326, allocations: 0 / 495.3 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.5326, allocations: 4 kB / 495.3 MB, free: 4.734 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.5329, allocations: 199.6 kB / 495.5 MB, free: 4.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5329, allocations: 0 / 495.5 MB, free: 4.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000384/0.5333, allocations: 43.75 kB / 495.5 MB, free: 4.531 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001206/0.5345, allocations: 0.9706 MB / 496.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.5347, allocations: 114.6 kB / 496.6 MB, free: 3.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5348, allocations: 0 / 496.6 MB, free: 3.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.116e-05/0.5348, allocations: 19.62 kB / 496.6 MB, free: 3.516 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.5352, allocations: 23.33 kB / 496.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/0.536, allocations: 0.5233 MB / 497.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.5362, allocations: 0.7153 MB / 497.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.987e-05/0.5363, allocations: 20.12 kB / 497.9 MB, free: 2.199 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.385e-05/0.5364, allocations: 32.31 kB / 497.9 MB, free: 2.184 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5364, allocations: 0 / 497.9 MB, free: 2.184 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.5632, allocations: 3.06 MB / 0.4892 GB, free: 15.16 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003807/0.5636, allocations: 217.3 kB / 0.4894 GB, free: 14.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.904, allocations: 64 / 0.4894 GB, free: 14.92 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat