Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01005/0.01006, allocations: 175.9 kB / 15.12 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.152/2.152, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003293/0.003293, allocations: 120.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2661/0.2661, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 14.75 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 54.87 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/1.345, allocations: 370 MB / 0.8116 GB, free: 88.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.346, allocations: 72.41 kB / 0.8117 GB, free: 88.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06714/1.413, allocations: 18.85 MB / 0.8301 GB, free: 73.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.413, allocations: 0 / 0.8301 GB, free: 73.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/1.413, allocations: 4 kB / 0.8301 GB, free: 73.24 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001378/1.414, allocations: 0.5715 MB / 0.8307 GB, free: 72.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.414, allocations: 8.031 kB / 0.8307 GB, free: 72.64 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.424e-05/1.414, allocations: 61.92 kB / 0.8307 GB, free: 72.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/1.415, allocations: 31.66 kB / 0.8308 GB, free: 72.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/1.415, allocations: 225.2 kB / 0.831 GB, free: 72.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/1.415, allocations: 122.6 kB / 0.8311 GB, free: 72.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/1.415, allocations: 35.61 kB / 0.8311 GB, free: 72.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/1.416, allocations: 326.2 kB / 0.8314 GB, free: 71.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/1.416, allocations: 0 / 0.8314 GB, free: 71.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/1.416, allocations: 10.94 kB / 0.8314 GB, free: 71.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/1.416, allocations: 15.95 kB / 0.8315 GB, free: 71.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/1.417, allocations: 0.7329 MB / 0.8322 GB, free: 71.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/1.419, allocations: 1.232 MB / 0.8334 GB, free: 70.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/1.419, allocations: 150.4 kB / 0.8335 GB, free: 69.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002929/1.422, allocations: 2.788 MB / 0.8362 GB, free: 66.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/1.422, allocations: 38.19 kB / 0.8363 GB, free: 66.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.986e-06/1.422, allocations: 0 / 0.8363 GB, free: 66.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004151/1.423, allocations: 127.8 kB / 0.8364 GB, free: 66.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/1.423, allocations: 51.41 kB / 0.8364 GB, free: 66.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/1.423, allocations: 191.2 kB / 0.8366 GB, free: 66.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.423, allocations: 29.45 kB / 0.8367 GB, free: 66.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/1.423, allocations: 217.2 kB / 0.8369 GB, free: 66.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/1.423, allocations: 49.75 kB / 0.8369 GB, free: 66.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/1.423, allocations: 7.062 kB / 0.8369 GB, free: 66.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.169e-05/1.423, allocations: 329.5 kB / 0.8372 GB, free: 65.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/1.423, allocations: 51.03 kB / 0.8373 GB, free: 65.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/1.424, allocations: 329.6 kB / 0.8376 GB, free: 65.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/1.424, allocations: 93.36 kB / 0.8377 GB, free: 65.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.424, allocations: 8 kB / 0.8377 GB, free: 65.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007085/1.424, allocations: 375.5 kB / 0.8381 GB, free: 64.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.425, allocations: 16.17 kB / 0.8381 GB, free: 64.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.425, allocations: 12 kB / 0.8381 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/1.425, allocations: 16 kB / 0.8381 GB, free: 64.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/1.425, allocations: 99.27 kB / 0.8382 GB, free: 64.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/1.425, allocations: 23.92 kB / 0.8382 GB, free: 64.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/1.426, allocations: 50.66 kB / 0.8383 GB, free: 64.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/1.426, allocations: 27.44 kB / 0.8383 GB, free: 64.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * 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.0001522/1.426, allocations: 153.7 kB / 0.8384 GB, free: 64.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/1.426, allocations: 23.81 kB / 0.8385 GB, free: 64.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/1.426, allocations: 169.5 kB / 0.8386 GB, free: 64.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/1.426, allocations: 0 / 0.8386 GB, free: 64.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/1.426, allocations: 3.984 kB / 0.8386 GB, free: 64.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.426, allocations: 0 / 0.8386 GB, free: 64.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/1.427, allocations: 439.2 kB / 0.839 GB, free: 63.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/1.427, allocations: 3.938 kB / 0.839 GB, free: 63.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/1.427, allocations: 15.98 kB / 0.8391 GB, free: 63.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.427, allocations: 4 kB / 0.8391 GB, free: 63.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/1.427, allocations: 7.375 kB / 0.8391 GB, free: 63.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/1.427, allocations: 0 / 0.8391 GB, free: 63.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.427, allocations: 4 kB / 0.8391 GB, free: 63.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/1.427, allocations: 259.3 kB / 0.8393 GB, free: 63.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/1.427, allocations: 112.2 kB / 0.8394 GB, free: 63.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/1.428, allocations: 7.812 kB / 0.8394 GB, free: 63.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/1.428, allocations: 16.02 kB / 0.8395 GB, free: 63.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/1.428, allocations: 7.984 kB / 0.8395 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/1.428, allocations: 7.438 kB / 0.8395 GB, free: 63.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001478/1.428, allocations: 150.1 kB / 0.8396 GB, free: 63.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.428, allocations: 0 / 0.8396 GB, free: 63.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007294/1.429, allocations: 98.48 kB / 0.8397 GB, free: 63.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 1 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006333/1.429, allocations: 1.12 MB / 0.8408 GB, free: 62.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004058/1.43, allocations: 167 kB / 0.841 GB, free: 61.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.43, allocations: 7.438 kB / 0.841 GB, free: 61.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.991e-05/1.43, allocations: 27.92 kB / 0.841 GB, free: 61.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/1.43, allocations: 35.09 kB / 0.841 GB, free: 61.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/1.45, allocations: 12.67 MB / 0.8534 GB, free: 50.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/1.45, allocations: 0.7326 MB / 0.8541 GB, free: 49.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004284/1.45, allocations: 58.06 kB / 0.8542 GB, free: 49.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.451, allocations: 53.05 kB / 0.8542 GB, free: 49.18 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/1.451, allocations: 0 / 0.8542 GB, free: 49.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/1.482, allocations: 4.678 MB / 0.8588 GB, free: 44.57 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003526/1.483, allocations: 186.5 kB / 0.859 GB, free: 44.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.973, allocations: 0 / 0.859 GB, free: 44.33 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat