Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test72",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.01342/0.01342, 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.631/1.631, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001991/0.00199, allocations: 118.3 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.4498/0.4498, allocations: 38.05 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006488/0.0006489, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1092, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3846/0.4938, allocations: 75.73 MB / 487.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4941, allocations: 66.09 kB / 487.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01978/0.5139, allocations: 5.487 MB / 493 MB, free: 7.227 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.514, allocations: 4 kB / 493 MB, free: 7.223 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.196e-05/0.514, allocations: 4 kB / 493 MB, free: 7.219 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.0009712/0.515, allocations: 0.7602 MB / 493.7 MB, free: 6.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5151, allocations: 12.03 kB / 493.8 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.5151, allocations: 30.56 kB / 493.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.5152, allocations: 46.7 kB / 493.8 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.5161, allocations: 457.7 kB / 494.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.5161, allocations: 4 kB / 494.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.5161, allocations: 4 kB / 494.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.5163, allocations: 79.05 kB / 494.4 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.5163, allocations: 4 kB / 494.4 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5163, allocations: 0 / 494.4 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.5163, allocations: 1.031 kB / 494.4 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.5164, allocations: 23.61 kB / 494.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.5169, allocations: 379.7 kB / 494.8 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.517, allocations: 64.33 kB / 494.8 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.5171, allocations: 3.984 kB / 494.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.5173, allocations: 86.72 kB / 494.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.5173, allocations: 0 / 494.9 MB, free: 5.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004358/0.5177, allocations: 149.9 kB / 495.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.5178, allocations: 85.11 kB / 495.1 MB, free: 4.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.5194, allocations: 0.9197 MB / 496.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.5195, allocations: 28.95 kB / 496.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.5197, allocations: 234.8 kB / 496.3 MB, free: 4.109 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.5197, allocations: 15.19 kB / 496.3 MB, free: 4.098 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.5197, allocations: 4 kB / 496.3 MB, free: 4.094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5199, allocations: 368.8 kB / 496.7 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.52, allocations: 32.98 kB / 496.7 MB, free: 3.723 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.5201, allocations: 58.88 kB / 496.8 MB, free: 3.676 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.5202, allocations: 98.3 kB / 496.9 MB, free: 3.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5203, allocations: 0 / 496.9 MB, free: 3.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004377/0.5207, allocations: 243.1 kB / 497.1 MB, free: 3.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.5208, allocations: 63.39 kB / 497.2 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5208, allocations: 0 / 497.2 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.5208, allocations: 0 / 497.2 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.521, allocations: 15.98 kB / 497.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.521, allocations: 0 / 497.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.5212, allocations: 19.28 kB / 497.2 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.5212, allocations: 4 kB / 497.2 MB, free: 3.254 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.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): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0002488/0.5215, allocations: 235.5 kB / 497.5 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.5216, allocations: 47.44 kB / 497.5 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.5219, allocations: 147.8 kB / 497.6 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5219, allocations: 7.938 kB / 497.7 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.522, allocations: 0 / 497.7 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.522, allocations: 0 / 497.7 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.5223, allocations: 370.9 kB / 498 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5223, allocations: 4 kB / 498 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.5224, allocations: 7.984 kB / 498 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.5224, allocations: 0 / 498 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.5225, allocations: 4 kB / 498 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5225, allocations: 0 / 498 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5225, allocations: 0 / 498 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.5228, allocations: 198.9 kB / 498.2 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.5231, allocations: 190.3 kB / 498.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.5232, allocations: 3.375 kB / 498.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.5233, allocations: 8.219 kB / 498.4 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.5234, allocations: 15.92 kB / 498.4 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.5234, allocations: 0 / 498.4 MB, free: 2.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00113/0.5246, allocations: 0.7326 MB / 499.2 MB, free: 1.523 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.5246, allocations: 0 / 499.2 MB, free: 1.523 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004847/0.5251, allocations: 95.56 kB / 499.3 MB, free: 1.434 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001651/0.5267, allocations: 1.14 MB / 0.4887 GB, free: 368 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.5271, allocations: 197.5 kB / 0.4889 GB, free: 176 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5271, allocations: 0 / 0.4889 GB, free: 176 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/0.5272, allocations: 27.86 kB / 0.4889 GB, free: 152 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.5277, allocations: 50.33 kB / 0.4889 GB, free: 116 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.5304, allocations: 1.574 MB / 0.4905 GB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.531, allocations: 0.8392 MB / 0.4913 GB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.5313, allocations: 84.53 kB / 0.4914 GB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.5316, allocations: 144.8 kB / 0.4915 GB, free: 13.61 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5316, allocations: 3.938 kB / 0.4915 GB, free: 13.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.5724, allocations: 8.687 MB / 0.5 GB, free: 4.957 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003009/0.5727, allocations: 214.1 kB / 0.5002 GB, free: 4.715 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.113, allocations: 0 / 0.5002 GB, free: 4.715 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat