Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test36",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.009997/0.009997, allocations: 166 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.737/1.737, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001976/0.001976, 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.4627/0.4627, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006675/0.0006676, allocations: 16 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1155, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4136/0.5292, allocations: 75.86 MB / 487.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5295, allocations: 72.89 kB / 487.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01623/0.5458, allocations: 4.235 MB / 491.9 MB, free: 8.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5458, allocations: 0 / 491.9 MB, free: 8.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.5458, allocations: 0 / 491.9 MB, free: 8.27 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.00055/0.5464, allocations: 454.7 kB / 492.3 MB, free: 7.781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5464, allocations: 8.031 kB / 492.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.5465, allocations: 30.56 kB / 492.3 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.5465, allocations: 13.91 kB / 492.4 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.5468, allocations: 207.2 kB / 492.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5468, allocations: 1.688 kB / 492.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.5469, allocations: 8 kB / 492.6 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.547, allocations: 44.86 kB / 492.6 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.547, allocations: 3.938 kB / 492.6 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.5471, allocations: 4 kB / 492.6 MB, free: 7.434 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5471, allocations: 0 / 492.6 MB, free: 7.434 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.265e-05/0.5471, allocations: 16.95 kB / 492.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.5476, allocations: 303.9 kB / 492.9 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.5478, allocations: 50.12 kB / 493 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.5479, allocations: 0 / 493 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.548, allocations: 62.84 kB / 493 MB, free: 6.977 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.548, allocations: 0 / 493 MB, free: 6.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004858/0.5485, allocations: 127.5 kB / 493.2 MB, free: 6.863 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.5486, allocations: 55.39 kB / 493.2 MB, free: 6.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.5488, allocations: 198 kB / 493.4 MB, free: 6.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.5489, allocations: 29.7 kB / 493.4 MB, free: 6.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.5489, allocations: 107.4 kB / 493.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.549, allocations: 11.8 kB / 493.6 MB, free: 6.477 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.549, allocations: 1.406 kB / 493.6 MB, free: 6.477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.5491, allocations: 326.4 kB / 493.9 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.5491, allocations: 19.69 kB / 493.9 MB, free: 6.145 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.5492, allocations: 23.42 kB / 493.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.702e-05/0.5493, allocations: 57.31 kB / 494 MB, free: 6.078 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5493, allocations: 0 / 494 MB, free: 6.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002448/0.5496, allocations: 134.2 kB / 494.1 MB, free: 5.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.5496, allocations: 37.69 kB / 494.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5496, allocations: 0 / 494.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5497, allocations: 0 / 494.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.5497, allocations: 8 kB / 494.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5498, allocations: 0 / 494.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.5498, allocations: 7.875 kB / 494.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.5499, allocations: 10.77 kB / 494.2 MB, free: 5.891 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.0001/0.55, allocations: 130.4 kB / 494.3 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.55, allocations: 11.91 kB / 494.3 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.5503, allocations: 102 kB / 494.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5503, allocations: 0 / 494.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5503, allocations: 0 / 494.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5503, allocations: 0 / 494.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.5507, allocations: 368.7 kB / 494.8 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5508, allocations: 0 / 494.8 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.5508, allocations: 8 kB / 494.8 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5508, allocations: 4 kB / 494.8 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.5509, allocations: 0 / 494.8 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5509, allocations: 4 kB / 494.8 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5509, allocations: 0 / 494.8 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.5511, allocations: 179.5 kB / 495 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.5512, allocations: 92.89 kB / 495 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.5512, allocations: 7.938 kB / 495.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.379e-05/0.5513, allocations: 7.922 kB / 495.1 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.5514, allocations: 8 kB / 495.1 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.5514, allocations: 4 kB / 495.1 MB, free: 4.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.5516, allocations: 158.8 kB / 495.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5516, allocations: 0 / 495.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.552, allocations: 39.94 kB / 495.3 MB, free: 4.781 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.001368/0.5533, allocations: 0.9672 MB / 496.2 MB, free: 3.887 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.5536, allocations: 118.4 kB / 496.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5536, allocations: 0 / 496.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.5537, allocations: 15.88 kB / 496.4 MB, free: 3.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.554, allocations: 15.86 kB / 496.4 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009129/0.555, allocations: 492.7 kB / 496.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.5552, allocations: 0.7195 MB / 497.6 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.5553, allocations: 8 kB / 497.6 MB, free: 2.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.5553, allocations: 34.86 kB / 497.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5554, allocations: 0 / 497.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.5776, allocations: 2.848 MB / 0.4887 GB, free: 15.68 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003215/0.578, allocations: 217.2 kB / 0.489 GB, free: 15.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.972, allocations: 0 / 0.489 GB, free: 15.43 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat