Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test9",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.009513/0.009517, allocations: 165.5 kB / 15.11 MB, free: 5.98 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.61/1.61, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.002006/0.002006, allocations: 99.45 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.4733/0.4733, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004805, allocations: 12 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.4952, allocations: 75.82 MB / 487.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4956, allocations: 71.58 kB / 487.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.5109, allocations: 4.06 MB / 491.6 MB, free: 8.387 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5109, allocations: 0 / 491.6 MB, free: 8.387 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.5109, allocations: 4 kB / 491.7 MB, free: 8.383 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.0004706/0.5114, allocations: 435 kB / 492.1 MB, free: 7.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5115, allocations: 8.031 kB / 492.1 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.5115, allocations: 38.31 kB / 492.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.5116, allocations: 11.91 kB / 492.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.5118, allocations: 202 kB / 492.3 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.5118, allocations: 3.984 kB / 492.3 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.5119, allocations: 4 kB / 492.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.512, allocations: 45.19 kB / 492.4 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.512, allocations: 0 / 492.4 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.512, allocations: 0 / 492.4 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.5121, allocations: 0 / 492.4 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.5121, allocations: 20.95 kB / 492.4 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.5125, allocations: 299.9 kB / 492.7 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.5127, allocations: 46.31 kB / 492.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.5128, allocations: 0 / 492.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.5129, allocations: 60.17 kB / 492.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.356e-06/0.5129, allocations: 0 / 492.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004522/0.5134, allocations: 128.5 kB / 492.9 MB, free: 7.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.5134, allocations: 59.39 kB / 493 MB, free: 6.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.5136, allocations: 180.8 kB / 493.2 MB, free: 6.777 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.5137, allocations: 29.7 kB / 493.2 MB, free: 6.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.5137, allocations: 103.6 kB / 493.3 MB, free: 6.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.5138, allocations: 19.12 kB / 493.3 MB, free: 6.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.5138, allocations: 0 / 493.3 MB, free: 6.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.762e-05/0.5138, allocations: 322.7 kB / 493.6 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.5139, allocations: 23.73 kB / 493.6 MB, free: 6.301 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.514, allocations: 31.42 kB / 493.7 MB, free: 6.277 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.571e-05/0.5141, allocations: 49.2 kB / 493.7 MB, free: 6.234 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5141, allocations: 4 kB / 493.7 MB, free: 6.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002653/0.5144, allocations: 134.3 kB / 493.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.5144, allocations: 29.7 kB / 493.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5144, allocations: 7.938 kB / 493.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5145, allocations: 0 / 493.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.5145, allocations: 12.05 kB / 493.9 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5146, allocations: 4 kB / 493.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.5146, allocations: 4 kB / 493.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.5147, allocations: 11.83 kB / 493.9 MB, free: 6.039 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 9.167e-05/0.5148, allocations: 126.7 kB / 494.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.5148, allocations: 7.906 kB / 494.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.515, allocations: 97.14 kB / 494.2 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5151, allocations: 0 / 494.2 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5151, allocations: 0 / 494.2 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5151, allocations: 0 / 494.2 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.5155, allocations: 365.8 kB / 494.5 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5155, allocations: 0 / 494.5 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.5156, allocations: 4 kB / 494.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5156, allocations: 0 / 494.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.5156, allocations: 7.938 kB / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5156, allocations: 0 / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5156, allocations: 3.938 kB / 494.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.5158, allocations: 175.3 kB / 494.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.5159, allocations: 96.95 kB / 494.8 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.5159, allocations: 7.797 kB / 494.8 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.516, allocations: 3.938 kB / 494.8 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.516, allocations: 4 kB / 494.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.5161, allocations: 4 kB / 494.8 MB, free: 5.121 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.5162, allocations: 151.7 kB / 495 MB, free: 4.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5162, allocations: 0 / 495 MB, free: 4.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.5166, allocations: 39.92 kB / 495 MB, free: 4.957 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.001198/0.5178, allocations: 0.9724 MB / 496 MB, free: 4.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.518, allocations: 102.6 kB / 496.1 MB, free: 3.961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.518, allocations: 3.938 kB / 496.1 MB, free: 3.961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.252e-05/0.5181, allocations: 31.8 kB / 496.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.5184, allocations: 19.11 kB / 496.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.5192, allocations: 464.5 kB / 496.6 MB, free: 3.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.5194, allocations: 0.7082 MB / 497.3 MB, free: 2.707 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.5195, allocations: 8 kB / 497.3 MB, free: 2.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.5195, allocations: 30.86 kB / 497.3 MB, free: 2.68 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5196, allocations: 0 / 497.3 MB, free: 2.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.5421, allocations: 2.783 MB / 0.4884 GB, free: 15.93 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003635/0.5425, allocations: 212.5 kB / 0.4886 GB, free: 15.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/2.922, allocations: 0 / 0.4886 GB, free: 15.7 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat