Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test30",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.009632/0.009632, allocations: 165.3 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.636/1.636, 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.002002/0.002002, allocations: 110.5 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.4464/0.4464, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004675, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1022, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.4939, allocations: 75.87 MB / 487.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4942, allocations: 67.72 kB / 487.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.5096, allocations: 4.035 MB / 491.7 MB, free: 8.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5097, allocations: 0 / 491.7 MB, free: 8.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.5097, allocations: 4 kB / 491.7 MB, free: 8.34 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.0004818/0.5102, allocations: 435 kB / 492.1 MB, free: 7.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5102, allocations: 8.031 kB / 492.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.5103, allocations: 30.56 kB / 492.1 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.5104, allocations: 7.906 kB / 492.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.5106, allocations: 194.1 kB / 492.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5106, allocations: 11.88 kB / 492.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.5106, allocations: 4 kB / 492.3 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.5108, allocations: 45.55 kB / 492.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5108, allocations: 0 / 492.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.5108, allocations: 1.031 kB / 492.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5108, allocations: 0 / 492.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.702e-05/0.5109, allocations: 15.55 kB / 492.4 MB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.5113, allocations: 288.4 kB / 492.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.5115, allocations: 50.06 kB / 492.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.5116, allocations: 3.984 kB / 492.7 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.5117, allocations: 62.89 kB / 492.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.5117, allocations: 0 / 492.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004534/0.5122, allocations: 125 kB / 492.9 MB, free: 6.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.5122, allocations: 51.41 kB / 493 MB, free: 6.914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.5124, allocations: 172.3 kB / 493.1 MB, free: 6.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.5124, allocations: 29.64 kB / 493.2 MB, free: 6.727 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.5125, allocations: 95.56 kB / 493.3 MB, free: 6.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.5125, allocations: 19.73 kB / 493.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.5125, allocations: 0 / 493.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.5126, allocations: 322.8 kB / 493.6 MB, free: 6.301 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.5127, allocations: 19.69 kB / 493.6 MB, free: 6.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.265e-05/0.5127, allocations: 23.42 kB / 493.6 MB, free: 6.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.504e-05/0.5128, allocations: 65.38 kB / 493.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5128, allocations: 0 / 493.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002347/0.5131, allocations: 126.2 kB / 493.8 MB, free: 6.102 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.5131, allocations: 37.69 kB / 493.9 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.5131, allocations: 0 / 493.9 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5132, allocations: 0 / 493.9 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.937e-05/0.5132, allocations: 11.94 kB / 493.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.5133, allocations: 3.953 kB / 493.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.5133, allocations: 4.062 kB / 493.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.5134, allocations: 4 kB / 493.9 MB, free: 6.035 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.093e-05/0.5135, allocations: 130.7 kB / 494 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.5135, allocations: 11.84 kB / 494 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.5138, allocations: 85.3 kB / 494.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5138, allocations: 0 / 494.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5138, allocations: 0 / 494.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5138, allocations: 3.953 kB / 494.1 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.5142, allocations: 358.4 kB / 494.5 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5142, allocations: 4 kB / 494.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.5142, allocations: 4 kB / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5143, allocations: 0 / 494.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5143, allocations: 4 kB / 494.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.5143, allocations: 3.953 kB / 494.5 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5143, allocations: 0 / 494.5 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.5145, allocations: 178.3 kB / 494.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.5145, allocations: 92.83 kB / 494.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.5146, allocations: 0 / 494.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.5147, allocations: 8 kB / 494.8 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.5147, allocations: 11.94 kB / 494.8 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.5147, allocations: 0 / 494.8 MB, free: 5.121 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.5149, allocations: 131.2 kB / 494.9 MB, free: 5.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5149, allocations: 0 / 494.9 MB, free: 5.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.5153, allocations: 39.67 kB / 494.9 MB, free: 4.973 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.001164/0.5164, allocations: 0.9689 MB / 495.9 MB, free: 4.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.5167, allocations: 110.5 kB / 496 MB, free: 3.977 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5167, allocations: 0 / 496 MB, free: 3.977 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.098e-05/0.5168, allocations: 23.8 kB / 496 MB, free: 3.957 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.5171, allocations: 27.81 kB / 496.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007223/0.5178, allocations: 431.6 kB / 496.5 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.518, allocations: 0.7042 MB / 497.2 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.518, allocations: 16.12 kB / 497.2 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.5181, allocations: 30.92 kB / 497.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5181, allocations: 0 / 497.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.5485, allocations: 2.628 MB / 499.9 MB, free: 136 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/0.5489, allocations: 217.8 kB / 0.4884 GB, free: 15.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.023, allocations: 3.938 kB / 0.4884 GB, free: 15.89 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat