Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test40",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.009784/0.009783, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.693/1.693, allocations: 170.8 MB / 186.6 MB, free: 1.105 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.001994/0.001993, allocations: 103.4 kB / 226.2 MB, free: 10.11 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.465/0.465, allocations: 38.06 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009316/0.0009318, allocations: 16 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1377, allocations: 48.7 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4009/0.5387, allocations: 75.86 MB / 487.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.539, allocations: 70.41 kB / 487.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01665/0.5557, allocations: 4.151 MB / 491.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.5557, allocations: 0 / 491.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.5558, allocations: 4 kB / 491.8 MB, free: 8.332 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.0005023/0.5563, allocations: 440.2 kB / 492.2 MB, free: 7.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.5563, allocations: 12.03 kB / 492.2 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.5564, allocations: 30.56 kB / 492.3 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.5564, allocations: 7.906 kB / 492.3 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.5567, allocations: 200.6 kB / 492.5 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.5567, allocations: 0 / 492.5 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.5567, allocations: 4 kB / 492.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.5569, allocations: 49.05 kB / 492.5 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5569, allocations: 0 / 492.5 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5569, allocations: 6.938 kB / 492.5 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5569, allocations: 0 / 492.5 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.989e-05/0.557, allocations: 20.2 kB / 492.5 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.5574, allocations: 298.2 kB / 492.8 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.5577, allocations: 45.42 kB / 492.9 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.5577, allocations: 4 kB / 492.9 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.5578, allocations: 63.36 kB / 492.9 MB, free: 7.059 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.805e-06/0.5579, allocations: 0 / 492.9 MB, free: 7.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004806/0.5583, allocations: 118.4 kB / 493.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.5584, allocations: 62.91 kB / 493.1 MB, free: 6.883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.5586, allocations: 188.5 kB / 493.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5586, allocations: 25.7 kB / 493.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.5587, allocations: 104.9 kB / 493.4 MB, free: 6.598 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.5587, allocations: 15.75 kB / 493.4 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.5588, allocations: 3 kB / 493.4 MB, free: 6.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.5588, allocations: 322.1 kB / 493.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.5589, allocations: 22.36 kB / 493.8 MB, free: 6.246 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.267e-05/0.559, allocations: 25.05 kB / 493.8 MB, free: 6.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.673e-05/0.5591, allocations: 51.83 kB / 493.9 MB, free: 6.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5591, allocations: 0 / 493.9 MB, free: 6.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002491/0.5594, allocations: 138.9 kB / 494 MB, free: 6.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.5594, allocations: 37.7 kB / 494 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5594, allocations: 0 / 494 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.5594, allocations: 0 / 494 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.5595, allocations: 12.06 kB / 494 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5596, allocations: 3.984 kB / 494 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.5596, allocations: 4 kB / 494 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.5597, allocations: 7.953 kB / 494.1 MB, free: 5.988 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.000103/0.5598, allocations: 126.4 kB / 494.2 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.5598, allocations: 7.906 kB / 494.2 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.5601, allocations: 105.2 kB / 494.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5601, allocations: 0 / 494.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5601, allocations: 0 / 494.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5601, allocations: 0.6562 kB / 494.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.5605, allocations: 364.2 kB / 494.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5605, allocations: 0 / 494.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.5606, allocations: 8 kB / 494.7 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.5606, allocations: 0 / 494.7 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.5606, allocations: 7.688 kB / 494.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5607, allocations: 0 / 494.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5607, allocations: 96 / 494.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.5609, allocations: 180.6 kB / 494.8 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.561, allocations: 89.02 kB / 494.9 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.561, allocations: 3.25 kB / 494.9 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.657e-05/0.5611, allocations: 11.92 kB / 494.9 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.5612, allocations: 0 / 494.9 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.5612, allocations: 8.188 kB / 494.9 MB, free: 5.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001564/0.5613, allocations: 153.7 kB / 495.1 MB, free: 4.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5614, allocations: 3.938 kB / 495.1 MB, free: 4.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.5617, allocations: 43.55 kB / 495.1 MB, free: 4.895 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.001262/0.563, allocations: 0.9603 MB / 496.1 MB, free: 4.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.5633, allocations: 110.4 kB / 496.2 MB, free: 3.898 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5633, allocations: 0 / 496.2 MB, free: 3.898 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.371e-05/0.5634, allocations: 22.23 kB / 496.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.5637, allocations: 22.48 kB / 496.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.5646, allocations: 468.8 kB / 496.7 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.5648, allocations: 0.7043 MB / 497.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.5649, allocations: 18.81 kB / 497.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.546e-05/0.565, allocations: 25.61 kB / 497.5 MB, free: 2.621 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.565, allocations: 0 / 497.5 MB, free: 2.621 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.5862, allocations: 2.779 MB / 0.4885 GB, free: 15.88 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003218/0.5866, allocations: 206 kB / 0.4887 GB, free: 15.64 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/2.997, allocations: 4 kB / 0.4887 GB, free: 15.64 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat