Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008428/0.0008426, allocations: 91.83 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3836/0.3836, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.584e-05, allocations: 0 / 425.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/0.5401, allocations: 83.89 MB / 0.5548 GB, free: 19.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.5404, allocations: 67.72 kB / 0.5549 GB, free: 19.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001656/0.5421, allocations: 0.6275 MB / 0.5555 GB, free: 18.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5421, allocations: 0 / 0.5555 GB, free: 18.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.5421, allocations: 0 / 0.5555 GB, free: 18.63 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001962/0.5423, allocations: 315.8 kB / 0.5558 GB, free: 18.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5424, allocations: 12.03 kB / 0.5558 GB, free: 18.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.5424, allocations: 32.41 kB / 0.5558 GB, free: 18.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.5424, allocations: 3.438 kB / 0.5558 GB, free: 18.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.767e-05/0.5425, allocations: 168.3 kB / 0.556 GB, free: 18.03 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5426, allocations: 4 kB / 0.556 GB, free: 18.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.5426, allocations: 4 kB / 0.556 GB, free: 18.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.187e-05/0.5427, allocations: 31.72 kB / 0.556 GB, free: 17.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5427, allocations: 1.391 kB / 0.556 GB, free: 17.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.5427, allocations: 0 / 0.556 GB, free: 17.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5427, allocations: 1.375 kB / 0.556 GB, free: 17.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.5428, allocations: 16.53 kB / 0.5561 GB, free: 17.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.5429, allocations: 152.3 kB / 0.5562 GB, free: 17.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.5431, allocations: 33.3 kB / 0.5562 GB, free: 17.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.5431, allocations: 16.67 kB / 0.5563 GB, free: 17.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.5434, allocations: 121.7 kB / 0.5564 GB, free: 17.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.5435, allocations: 35.75 kB / 0.5564 GB, free: 17.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5435, allocations: 0 / 0.5564 GB, free: 17.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.00101/0.5445, allocations: 167.6 kB / 0.5566 GB, free: 17.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.5445, allocations: 51.41 kB / 0.5566 GB, free: 17.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.85e-05/0.5446, allocations: 85.66 kB / 0.5567 GB, free: 17.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.5446, allocations: 29.7 kB / 0.5567 GB, free: 17.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.58e-05/0.5446, allocations: 87.75 kB / 0.5568 GB, free: 17.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.5447, allocations: 9.781 kB / 0.5568 GB, free: 17.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.5447, allocations: 1.688 kB / 0.5568 GB, free: 17.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.5447, allocations: 323.4 kB / 0.5571 GB, free: 16.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/0.5448, allocations: 8.516 kB / 0.5571 GB, free: 16.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.5448, allocations: 17.05 kB / 0.5572 GB, free: 16.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.5448, allocations: 9.156 kB / 0.5572 GB, free: 16.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.5448, allocations: 3.281 kB / 0.5572 GB, free: 16.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.827e-05/0.5449, allocations: 57.55 kB / 0.5572 GB, free: 16.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.545, allocations: 8.75 kB / 0.5572 GB, free: 16.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.545, allocations: 0 / 0.5572 GB, free: 16.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.545, allocations: 0 / 0.5572 GB, free: 16.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5451, allocations: 18.78 kB / 0.5572 GB, free: 16.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5451, allocations: 4.75 kB / 0.5573 GB, free: 16.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.5452, allocations: 6.016 kB / 0.5573 GB, free: 16.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.5452, allocations: 4.656 kB / 0.5573 GB, free: 16.73 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 4.338e-05/0.5453, allocations: 114 kB / 0.5574 GB, free: 16.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.5453, allocations: 0.6094 kB / 0.5574 GB, free: 16.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.5455, allocations: 76.48 kB / 0.5574 GB, free: 16.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5455, allocations: 0.8438 kB / 0.5574 GB, free: 16.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5455, allocations: 5.969 kB / 0.5575 GB, free: 16.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5455, allocations: 0 / 0.5575 GB, free: 16.56 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.546, allocations: 334.8 kB / 0.5578 GB, free: 16.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.546, allocations: 8.828 kB / 0.5578 GB, free: 16.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.5461, allocations: 15.28 kB / 0.5578 GB, free: 16.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5461, allocations: 0.7969 kB / 0.5578 GB, free: 16.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.5462, allocations: 0 / 0.5578 GB, free: 16.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5462, allocations: 0.9375 kB / 0.5578 GB, free: 16.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5462, allocations: 4 kB / 0.5578 GB, free: 16.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.5463, allocations: 181.4 kB / 0.558 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.5463, allocations: 77.86 kB / 0.558 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.5463, allocations: 0.9375 kB / 0.558 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5465, allocations: 10.39 kB / 0.5581 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.5465, allocations: 0.7969 kB / 0.5581 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.5465, allocations: 8.516 kB / 0.5581 GB, free: 15.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.454e-05/0.5465, allocations: 79.8 kB / 0.5581 GB, free: 15.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5465, allocations: 7.156 kB / 0.5581 GB, free: 15.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.5468, allocations: 8 kB / 0.5582 GB, free: 15.8 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * 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.0003594/0.5471, allocations: 0.7712 MB / 0.5589 GB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.5472, allocations: 33.34 kB / 0.5589 GB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5473, allocations: 0 / 0.5589 GB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.154e-05/0.5473, allocations: 22.3 kB / 0.559 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.5474, allocations: 9.219 kB / 0.559 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.5479, allocations: 124.3 kB / 0.5591 GB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.548, allocations: 0.681 MB / 0.5598 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.946e-05/0.5481, allocations: 4.75 kB / 0.5598 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.5482, allocations: 12.7 kB / 0.5598 GB, free: 14.12 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5482, allocations: 4 kB / 0.5598 GB, free: 14.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.5603, allocations: 1.235 MB / 0.561 GB, free: 13.39 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/0.5605, allocations: 158.5 kB / 0.5611 GB, free: 13.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/2.05, allocations: 4 kB / 0.5611 GB, free: 13.16 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat