Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test55",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.01311/0.01311, 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.654/1.654, allocations: 170.8 MB / 186.6 MB, free: 1.102 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.002489/0.002489, allocations: 114.9 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.4497/0.4497, allocations: 38.06 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004924, allocations: 20 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5468, allocations: 76.08 MB / 487.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.5471, allocations: 74.61 kB / 487.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01912/0.5662, allocations: 4.961 MB / 492.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5663, allocations: 0 / 492.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.5663, allocations: 4 kB / 492.8 MB, free: 7.684 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.0005282/0.5668, allocations: 416.3 kB / 493.2 MB, free: 7.234 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.5669, allocations: 15.97 kB / 493.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.567, allocations: 34.56 kB / 493.3 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.567, allocations: 11.89 kB / 493.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.5672, allocations: 193.1 kB / 493.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.5673, allocations: 0 / 493.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.5673, allocations: 4 kB / 493.5 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.5675, allocations: 62.97 kB / 493.5 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.5675, allocations: 3.984 kB / 493.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.5675, allocations: 4 kB / 493.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5675, allocations: 0 / 493.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.5676, allocations: 12.72 kB / 493.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.568, allocations: 289.2 kB / 493.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.5682, allocations: 48.44 kB / 493.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.5683, allocations: 0 / 493.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.5684, allocations: 57.38 kB / 493.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.5684, allocations: 0 / 493.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004743/0.5689, allocations: 116.8 kB / 494.1 MB, free: 6.328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.569, allocations: 77.11 kB / 494.1 MB, free: 6.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.5691, allocations: 138.7 kB / 494.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.5691, allocations: 28.98 kB / 494.3 MB, free: 6.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.5692, allocations: 90.89 kB / 494.4 MB, free: 5.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.5692, allocations: 19.73 kB / 494.4 MB, free: 5.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.5692, allocations: 7.312 kB / 494.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.5693, allocations: 318.1 kB / 494.7 MB, free: 5.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.5694, allocations: 15.75 kB / 494.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.5695, allocations: 34.2 kB / 494.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.31e-05/0.5696, allocations: 56.14 kB / 494.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5696, allocations: 0 / 494.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000235/0.5698, allocations: 121.1 kB / 494.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.5699, allocations: 29.7 kB / 495 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5699, allocations: 4.031 kB / 495 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.5699, allocations: 0 / 495 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.57, allocations: 19.3 kB / 495 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.57, allocations: 7.938 kB / 495 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.5701, allocations: 0 / 495 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.5701, allocations: 7.953 kB / 495 MB, free: 5.371 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 8.807e-05/0.5702, allocations: 114.4 kB / 495.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.5703, allocations: 4 kB / 495.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.5705, allocations: 98.03 kB / 495.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5705, allocations: 0 / 495.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5705, allocations: 3.938 kB / 495.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5706, allocations: 0 / 495.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.5709, allocations: 349.5 kB / 495.6 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.571, allocations: 4 kB / 495.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.571, allocations: 7.438 kB / 495.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.571, allocations: 0 / 495.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.571, allocations: 4.094 kB / 495.6 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5711, allocations: 7.938 kB / 495.6 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5711, allocations: 0 / 495.6 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.5713, allocations: 181.9 kB / 495.8 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.5713, allocations: 81.02 kB / 495.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.5714, allocations: 4 kB / 495.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.51e-05/0.5715, allocations: 7.672 kB / 495.9 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.5715, allocations: 4 kB / 495.9 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.5715, allocations: 4 kB / 495.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.397e-05/0.5716, allocations: 115.4 kB / 496 MB, free: 4.379 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5716, allocations: 0 / 496 MB, free: 4.379 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004008/0.5721, allocations: 43.88 kB / 496 MB, free: 4.34 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.00141/0.5735, allocations: 1.048 MB / 497.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.5737, allocations: 109.9 kB / 497.2 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5738, allocations: 4 kB / 497.2 MB, free: 3.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/0.5738, allocations: 23.67 kB / 497.2 MB, free: 3.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.5742, allocations: 14.98 kB / 497.2 MB, free: 3.234 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.5768, allocations: 1.125 MB / 498.3 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.5769, allocations: 0.6926 MB / 499 MB, free: 1.707 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.841e-05/0.577, allocations: 16.12 kB / 499.1 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.5771, allocations: 26.36 kB / 499.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5771, allocations: 0 / 499.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09712/0.6743, allocations: 2.816 MB / 0.4901 GB, free: 14.91 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/0.6747, allocations: 214.5 kB / 0.4903 GB, free: 14.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.062, allocations: 4 kB / 0.4903 GB, free: 14.66 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat