Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test71",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.009863/0.009864, allocations: 165.8 kB / 15.11 MB, free: 5.934 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.628/1.628, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.001954/0.001953, allocations: 99.45 kB / 226.2 MB, free: 10.12 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.4608/0.4608, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006394/0.0006394, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1099, allocations: 48.72 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.5118, allocations: 75.73 MB / 487.4 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.5121, allocations: 66.22 kB / 487.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01996/0.5321, allocations: 5.494 MB / 493 MB, free: 7.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5322, allocations: 0 / 493 MB, free: 7.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.428e-05/0.5322, allocations: 8 kB / 493 MB, free: 7.234 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.001023/0.5332, allocations: 0.7578 MB / 493.7 MB, free: 6.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.5333, allocations: 12.03 kB / 493.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.5334, allocations: 38.55 kB / 493.8 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.5335, allocations: 46.7 kB / 493.8 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008875/0.5344, allocations: 458.3 kB / 494.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.5344, allocations: 0 / 494.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.5345, allocations: 4 kB / 494.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.5346, allocations: 69.5 kB / 494.4 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5347, allocations: 0 / 494.4 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.5347, allocations: 4 kB / 494.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5347, allocations: 1.031 kB / 494.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.5348, allocations: 26.3 kB / 494.4 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.5352, allocations: 385.1 kB / 494.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.5354, allocations: 56.08 kB / 494.8 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.5354, allocations: 4 kB / 494.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.5356, allocations: 92.47 kB / 494.9 MB, free: 5.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.5356, allocations: 0 / 494.9 MB, free: 5.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004252/0.536, allocations: 145 kB / 495.1 MB, free: 5.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.5361, allocations: 81.09 kB / 495.1 MB, free: 5.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.5377, allocations: 0.9131 MB / 496.1 MB, free: 4.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.5378, allocations: 33.7 kB / 496.1 MB, free: 4.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.538, allocations: 233.6 kB / 496.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.538, allocations: 19.25 kB / 496.3 MB, free: 4.125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.5381, allocations: 4 kB / 496.3 MB, free: 4.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.5382, allocations: 367 kB / 496.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.5383, allocations: 34.48 kB / 496.7 MB, free: 3.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.5384, allocations: 51.69 kB / 496.8 MB, free: 3.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.5386, allocations: 116.3 kB / 496.9 MB, free: 3.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5386, allocations: 0 / 496.9 MB, free: 3.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004739/0.5391, allocations: 233.8 kB / 497.1 MB, free: 3.387 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.5392, allocations: 63.34 kB / 497.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5392, allocations: 0 / 497.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.5392, allocations: 0 / 497.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.5394, allocations: 15.92 kB / 497.2 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5394, allocations: 7.984 kB / 497.2 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.5396, allocations: 12 kB / 497.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.5396, allocations: 7.938 kB / 497.2 MB, free: 3.273 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.0003067/0.5399, allocations: 231.4 kB / 497.5 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.54, allocations: 47.44 kB / 497.5 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.5404, allocations: 159.1 kB / 497.7 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5404, allocations: 0 / 497.7 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5405, allocations: 4 kB / 497.7 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5405, allocations: 0 / 497.7 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.5408, allocations: 366.4 kB / 498 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5409, allocations: 0 / 498 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-05/0.541, allocations: 11.98 kB / 498 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.541, allocations: 4 kB / 498 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.541, allocations: 4 kB / 498 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.541, allocations: 0 / 498 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.541, allocations: 0 / 498 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.5413, allocations: 190.5 kB / 498.2 MB, free: 2.301 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.5416, allocations: 182 kB / 498.4 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.681e-05/0.5417, allocations: 8 kB / 498.4 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.5419, allocations: 4 kB / 498.4 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.542, allocations: 11.3 kB / 498.4 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.542, allocations: 4.125 kB / 498.4 MB, free: 2.094 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.5432, allocations: 0.7304 MB / 499.2 MB, free: 1.555 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5432, allocations: 0 / 499.2 MB, free: 1.555 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005275/0.5437, allocations: 95.31 kB / 499.2 MB, free: 1.465 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.00171/0.5455, allocations: 1.155 MB / 0.4887 GB, free: 396 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003571/0.5458, allocations: 208.8 kB / 0.4889 GB, free: 192 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5459, allocations: 0 / 0.4889 GB, free: 192 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.546, allocations: 19.69 kB / 0.4889 GB, free: 176 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.5465, allocations: 51.47 kB / 0.4889 GB, free: 140 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.5494, allocations: 1.575 MB / 0.4905 GB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.5501, allocations: 0.8359 MB / 0.4913 GB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002564/0.5503, allocations: 88.2 kB / 0.4914 GB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.5506, allocations: 142.1 kB / 0.4915 GB, free: 13.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5507, allocations: 0 / 0.4915 GB, free: 13.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.5876, allocations: 8.692 MB / 0.5 GB, free: 4.977 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/0.588, allocations: 206 kB / 0.5002 GB, free: 4.742 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/3.125, allocations: 0 / 0.5002 GB, free: 4.742 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat