Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test5",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.00979/0.00979, 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.66/1.66, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.002001/0.002, allocations: 115.4 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.4768/0.4768, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006331/0.0006332, allocations: 12 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1083, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4185/0.5269, allocations: 75.91 MB / 487.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.5272, allocations: 68.47 kB / 487.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01786/0.5451, allocations: 4.628 MB / 492.3 MB, free: 7.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.185e-06/0.5452, allocations: 0 / 492.3 MB, free: 7.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.5452, allocations: 7.938 kB / 492.3 MB, free: 7.816 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005287/0.5457, allocations: 458.4 kB / 492.8 MB, free: 7.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5458, allocations: 8.031 kB / 492.8 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.5458, allocations: 34.56 kB / 492.8 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.5459, allocations: 15.11 kB / 492.8 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.5462, allocations: 209.2 kB / 493 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.5462, allocations: 7.375 kB / 493 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.5462, allocations: 4.688 kB / 493 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.5464, allocations: 60.36 kB / 493.1 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.5464, allocations: 11.89 kB / 493.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.5464, allocations: 3.312 kB / 493.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5465, allocations: 1.031 kB / 493.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.5466, allocations: 27.66 kB / 493.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.547, allocations: 332.7 kB / 493.5 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.5473, allocations: 60.12 kB / 493.5 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.5473, allocations: 2.812 kB / 493.5 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.5476, allocations: 70.44 kB / 493.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.206e-06/0.5476, allocations: 0 / 493.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009374/0.5486, allocations: 174.6 kB / 493.8 MB, free: 6.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.5486, allocations: 55.41 kB / 493.8 MB, free: 6.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.549, allocations: 211.7 kB / 494 MB, free: 6.051 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.5491, allocations: 28.98 kB / 494 MB, free: 6.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.5491, allocations: 113.9 kB / 494.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.5492, allocations: 30.92 kB / 494.2 MB, free: 5.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.5492, allocations: 0 / 494.2 MB, free: 5.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.5493, allocations: 325.5 kB / 494.5 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.5494, allocations: 33.86 kB / 494.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.5496, allocations: 37.55 kB / 494.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.5497, allocations: 63.69 kB / 494.6 MB, free: 5.469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5497, allocations: 3.938 kB / 494.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003276/0.5501, allocations: 158.5 kB / 494.8 MB, free: 5.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.5501, allocations: 37.7 kB / 494.8 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5501, allocations: 0 / 494.8 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.5502, allocations: 0 / 494.8 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.5503, allocations: 19.92 kB / 494.8 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5503, allocations: 3.953 kB / 494.9 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.5504, allocations: 7.438 kB / 494.9 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.5504, allocations: 4 kB / 494.9 MB, free: 5.254 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 (10): * Single equations (assignments): 9 * 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.0001197/0.5506, allocations: 133.3 kB / 495 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.5506, allocations: 11.81 kB / 495 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.551, allocations: 142 kB / 495.1 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.551, allocations: 4 kB / 495.1 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.551, allocations: 0 / 495.1 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.551, allocations: 3.953 kB / 495.2 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.5516, allocations: 428.8 kB / 495.6 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5516, allocations: 0 / 495.6 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.5517, allocations: 19.98 kB / 495.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5517, allocations: 0 / 495.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.5517, allocations: 4.328 kB / 495.6 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.5518, allocations: 4 kB / 495.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5518, allocations: 3.938 kB / 495.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.552, allocations: 204.5 kB / 495.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.5521, allocations: 105.2 kB / 495.9 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.5522, allocations: 0 / 495.9 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5523, allocations: 19.39 kB / 495.9 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.5523, allocations: 7.984 kB / 495.9 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.5524, allocations: 4 kB / 495.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.5526, allocations: 180.5 kB / 496.1 MB, free: 4.035 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5526, allocations: 0 / 496.1 MB, free: 4.035 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003823/0.553, allocations: 47.17 kB / 496.2 MB, free: 3.992 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 (10): * Single equations (assignments): 9 * 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.001337/0.5543, allocations: 0.993 MB / 497.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.5546, allocations: 140.7 kB / 497.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5547, allocations: 0 / 497.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/0.5548, allocations: 29.88 kB / 497.3 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.5551, allocations: 22.44 kB / 497.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/0.5561, allocations: 0.5426 MB / 497.9 MB, free: 2.352 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.5563, allocations: 0.7237 MB / 498.6 MB, free: 1.605 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.938e-05/0.5564, allocations: 20.42 kB / 498.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.5565, allocations: 42.72 kB / 498.7 MB, free: 1.562 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5565, allocations: 0 / 498.7 MB, free: 1.562 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.5821, allocations: 3.292 MB / 0.4902 GB, free: 14.32 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/0.5825, allocations: 208.5 kB / 0.4904 GB, free: 14.08 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.919, allocations: 3.938 kB / 0.4904 GB, free: 14.08 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat