Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test32",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.01107/0.01107, 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.628/1.628, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001995/0.001995, allocations: 106 kB / 226.2 MB, free: 10.1 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.4568/0.4568, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004583, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4237/0.5271, allocations: 75.83 MB / 487.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.5274, allocations: 70.66 kB / 487.6 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.5421, allocations: 3.93 MB / 491.5 MB, free: 8.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5421, allocations: 0 / 491.5 MB, free: 8.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.5421, allocations: 4 kB / 491.5 MB, free: 8.508 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.000442/0.5426, allocations: 438.1 kB / 492 MB, free: 8.035 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.5426, allocations: 8.031 kB / 492 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.5427, allocations: 38.05 kB / 492 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.5427, allocations: 7.906 kB / 492 MB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.5429, allocations: 189.2 kB / 492.2 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.543, allocations: 7.938 kB / 492.2 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.543, allocations: 7.062 kB / 492.2 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.5431, allocations: 44.67 kB / 492.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5432, allocations: 0 / 492.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5432, allocations: 9.016 kB / 492.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5432, allocations: 0 / 492.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.952e-05/0.5433, allocations: 10.94 kB / 492.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.5436, allocations: 291.9 kB / 492.6 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.5438, allocations: 45.75 kB / 492.6 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.5439, allocations: 2.688 kB / 492.6 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.544, allocations: 67.14 kB / 492.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.013e-06/0.544, allocations: 0 / 492.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000433/0.5445, allocations: 124.8 kB / 492.8 MB, free: 7.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.5445, allocations: 51.41 kB / 492.8 MB, free: 7.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.5447, allocations: 163 kB / 493 MB, free: 6.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.5447, allocations: 30.48 kB / 493 MB, free: 6.891 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.5448, allocations: 97.38 kB / 493.1 MB, free: 6.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.5448, allocations: 22.98 kB / 493.1 MB, free: 6.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.5448, allocations: 0 / 493.1 MB, free: 6.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.5449, allocations: 318.2 kB / 493.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.829e-05/0.545, allocations: 26.55 kB / 493.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.545, allocations: 29.08 kB / 493.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.414e-05/0.5451, allocations: 51.64 kB / 493.6 MB, free: 6.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5451, allocations: 0 / 493.6 MB, free: 6.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002537/0.5454, allocations: 128.2 kB / 493.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.5454, allocations: 33.08 kB / 493.7 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5455, allocations: 4 kB / 493.7 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.5455, allocations: 4 kB / 493.7 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.5456, allocations: 19.98 kB / 493.7 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5456, allocations: 3.953 kB / 493.8 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.5456, allocations: 4 kB / 493.8 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.5457, allocations: 0 / 493.8 MB, free: 6.195 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.502e-05/0.5458, allocations: 126.4 kB / 493.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.5458, allocations: 11.34 kB / 493.9 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.546, allocations: 91.5 kB / 494 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.546, allocations: 0 / 494 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5461, allocations: 0 / 494 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5461, allocations: 7.891 kB / 494 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.5464, allocations: 354.8 kB / 494.3 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5464, allocations: 0 / 494.3 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.5465, allocations: 7.984 kB / 494.3 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5465, allocations: 0 / 494.3 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5465, allocations: 4 kB / 494.3 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.5465, allocations: 3.953 kB / 494.3 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5466, allocations: 4 kB / 494.4 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.5467, allocations: 172.7 kB / 494.5 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.5468, allocations: 92.06 kB / 494.6 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.5468, allocations: 0 / 494.6 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.5469, allocations: 4 kB / 494.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.547, allocations: 19.8 kB / 494.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.547, allocations: 192 / 494.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.5471, allocations: 134.2 kB / 494.8 MB, free: 5.164 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5471, allocations: 0 / 494.8 MB, free: 5.164 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.5475, allocations: 35.69 kB / 494.8 MB, free: 5.133 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.001158/0.5486, allocations: 0.9697 MB / 495.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.5489, allocations: 108.9 kB / 495.9 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5489, allocations: 0 / 495.9 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.112e-05/0.549, allocations: 26.3 kB / 495.9 MB, free: 4.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.5493, allocations: 22.81 kB / 495.9 MB, free: 4.094 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.55, allocations: 436.6 kB / 496.4 MB, free: 3.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.5502, allocations: 0.6965 MB / 497 MB, free: 2.918 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.5503, allocations: 8 kB / 497.1 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.5504, allocations: 29.48 kB / 497.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5504, allocations: 4 kB / 497.1 MB, free: 2.887 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.5759, allocations: 2.627 MB / 499.7 MB, free: 308 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.5761, allocations: 214 kB / 499.9 MB, free: 60 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.13, allocations: 4 kB / 499.9 MB, free: 56 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat