Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test64",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.01053/0.01053, allocations: 166.4 kB / 15.11 MB, free: 5.934 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.624/1.624, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001982/0.001981, allocations: 107.3 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.426/0.426, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004601, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.09973, allocations: 48.7 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3796/0.4794, allocations: 75.71 MB / 487.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4797, allocations: 72.44 kB / 487.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01499/0.4947, allocations: 4.142 MB / 491.6 MB, free: 8.453 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4948, allocations: 0 / 491.6 MB, free: 8.453 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.4948, allocations: 4 kB / 491.6 MB, free: 8.449 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004603/0.4953, allocations: 448.6 kB / 492.1 MB, free: 7.969 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4953, allocations: 12.03 kB / 492.1 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.4954, allocations: 30.56 kB / 492.1 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.4954, allocations: 11.81 kB / 492.1 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.4957, allocations: 213.6 kB / 492.3 MB, free: 7.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4957, allocations: 4 kB / 492.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.4957, allocations: 0 / 492.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.4959, allocations: 44.81 kB / 492.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4959, allocations: 0 / 492.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.4959, allocations: 0 / 492.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.4959, allocations: 3.125 kB / 492.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.254e-05/0.496, allocations: 16.95 kB / 492.4 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.4962, allocations: 188.2 kB / 492.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.017e-05/0.4962, allocations: 29.94 kB / 492.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.4963, allocations: 0 / 492.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.4964, allocations: 65.45 kB / 492.7 MB, free: 7.277 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.4964, allocations: 0 / 492.7 MB, free: 7.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002359/0.4967, allocations: 76.7 kB / 492.7 MB, free: 7.203 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.4967, allocations: 51.41 kB / 492.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.497, allocations: 227.8 kB / 493 MB, free: 6.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.497, allocations: 25.7 kB / 493 MB, free: 6.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.4971, allocations: 109.7 kB / 493.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.4971, allocations: 3.906 kB / 493.1 MB, free: 6.812 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.4971, allocations: 8 kB / 493.2 MB, free: 6.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.4972, allocations: 328.5 kB / 493.5 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.4973, allocations: 14.94 kB / 493.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.4973, allocations: 22.53 kB / 493.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.4974, allocations: 52.45 kB / 493.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4974, allocations: 0 / 493.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002077/0.4977, allocations: 124.1 kB / 493.7 MB, free: 6.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.4977, allocations: 37.64 kB / 493.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4977, allocations: 3.984 kB / 493.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4977, allocations: 4 kB / 493.7 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.4978, allocations: 4 kB / 493.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.4978, allocations: 4 kB / 493.7 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.4979, allocations: 11.38 kB / 493.7 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.4979, allocations: 0 / 493.7 MB, free: 6.227 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 (5): * Single equations (assignments): 4 * 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 9.677e-05/0.498, allocations: 134.2 kB / 493.9 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.4981, allocations: 7.906 kB / 493.9 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.4983, allocations: 83.2 kB / 494 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4983, allocations: 8 kB / 494 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4983, allocations: 0 / 494 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4983, allocations: 3.984 kB / 494 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.4984, allocations: 192.1 kB / 494.2 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4985, allocations: 3.953 kB / 494.2 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.4985, allocations: 4 kB / 494.2 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4985, allocations: 0 / 494.2 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4985, allocations: 0 / 494.2 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4985, allocations: 0 / 494.2 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4986, allocations: 0 / 494.2 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.4987, allocations: 109.4 kB / 494.3 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.4988, allocations: 96.88 kB / 494.4 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.4988, allocations: 3.984 kB / 494.4 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.4989, allocations: 4 kB / 494.4 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.4989, allocations: 3.875 kB / 494.4 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.4989, allocations: 4 kB / 494.4 MB, free: 5.523 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001944/0.4991, allocations: 181.8 kB / 494.6 MB, free: 5.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4992, allocations: 0 / 494.6 MB, free: 5.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.4995, allocations: 47.42 kB / 494.6 MB, free: 5.332 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 (4): * Single equations (assignments): 3 * 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.001015/0.5005, allocations: 0.843 MB / 495.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.5007, allocations: 108.3 kB / 495.6 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5007, allocations: 0 / 495.6 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.5008, allocations: 15.97 kB / 495.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.501, allocations: 22.98 kB / 495.6 MB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/0.5018, allocations: 0.4917 MB / 496.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.5019, allocations: 0.7112 MB / 496.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.878e-05/0.502, allocations: 8.188 kB / 496.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.5021, allocations: 36.3 kB / 496.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5021, allocations: 0 / 496.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.5278, allocations: 2.816 MB / 499.7 MB, free: 388 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.5281, allocations: 214 kB / 499.9 MB, free: 140 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.012, allocations: 0 / 499.9 MB, free: 140 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat