Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001534/0.001534, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001159/0.001158, allocations: 91.55 kB / 270.9 MB, free: 8.391 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.5347/0.5347, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007008/0.0007008, allocations: 12 kB / 431.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1374, allocations: 58.85 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.6129, allocations: 83.99 MB / 0.5608 GB, free: 2.719 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.6131, allocations: 63.97 kB / 0.5609 GB, free: 2.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002179/0.6153, allocations: 0.6295 MB / 0.5615 GB, free: 2.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6154, allocations: 0 / 0.5615 GB, free: 2.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.6154, allocations: 0 / 0.5615 GB, free: 2.035 MB / 378.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.000244/0.6156, allocations: 316.1 kB / 0.5618 GB, free: 1.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.6157, allocations: 8.031 kB / 0.5618 GB, free: 1.676 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.6157, allocations: 38.56 kB / 0.5619 GB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.6158, allocations: 12.36 kB / 0.5619 GB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/0.6159, allocations: 163 kB / 0.562 GB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.6159, allocations: 0 / 0.562 GB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.6159, allocations: 3.938 kB / 0.562 GB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.616, allocations: 33.69 kB / 0.5621 GB, free: 1.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.6161, allocations: 4 kB / 0.5621 GB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.6161, allocations: 4 kB / 0.5621 GB, free: 1.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.6161, allocations: 0 / 0.5621 GB, free: 1.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.6161, allocations: 5.031 kB / 0.5621 GB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.6163, allocations: 163.7 kB / 0.5622 GB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.6165, allocations: 38 kB / 0.5623 GB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004476/0.617, allocations: 125.1 kB / 0.5624 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.617, allocations: 34.56 kB / 0.5624 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.617, allocations: 0 / 0.5624 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001969/0.619, allocations: 205.7 kB / 0.5626 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.6191, allocations: 51.41 kB / 0.5627 GB, free: 0.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.17e-05/0.6191, allocations: 92.98 kB / 0.5628 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.6192, allocations: 29.7 kB / 0.5628 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.6192, allocations: 150.6 kB / 0.5629 GB, free: 396 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.6192, allocations: 15.75 kB / 0.5629 GB, free: 380 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.6193, allocations: 0 / 0.5629 GB, free: 380 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.6193, allocations: 318.8 kB / 0.5632 GB, free: 52 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.6195, allocations: 28.09 kB / 0.5633 GB, free: 24 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.6196, allocations: 19.98 kB / 0.5633 GB, free: 4 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.6198, allocations: 28.55 kB / 0.5633 GB, free: 15.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6198, allocations: 0 / 0.5633 GB, free: 15.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00037/0.6202, allocations: 90.47 kB / 0.5634 GB, free: 15.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.6202, allocations: 4 kB / 0.5634 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.6202, allocations: 3.984 kB / 0.5634 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.6203, allocations: 0 / 0.5634 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.6205, allocations: 15.98 kB / 0.5634 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.6205, allocations: 0 / 0.5634 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.6207, allocations: 8 kB / 0.5634 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.6207, allocations: 5.562 kB / 0.5634 GB, free: 15.85 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 () * Number of clocked 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 0.0001135/0.6209, allocations: 125.8 kB / 0.5636 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.6209, allocations: 0 / 0.5636 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.6213, allocations: 97.16 kB / 0.5637 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6213, allocations: 0 / 0.5637 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6214, allocations: 0 / 0.5637 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.6214, allocations: 3.984 kB / 0.5637 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.6224, allocations: 363.2 kB / 0.564 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.6224, allocations: 7.125 kB / 0.564 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.6226, allocations: 15.98 kB / 0.564 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.6227, allocations: 0 / 0.564 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.6227, allocations: 0.7656 kB / 0.564 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.6227, allocations: 3.984 kB / 0.564 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.77e-06/0.6227, allocations: 8.031 kB / 0.564 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.6231, allocations: 194 kB / 0.5642 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.6232, allocations: 81.11 kB / 0.5643 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.6232, allocations: 8.688 kB / 0.5643 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.6234, allocations: 11.98 kB / 0.5643 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.6234, allocations: 2.953 kB / 0.5643 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.6235, allocations: 4 kB / 0.5643 GB, free: 14.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.6235, allocations: 79.23 kB / 0.5644 GB, free: 14.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6235, allocations: 0 / 0.5644 GB, free: 14.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.6238, allocations: 8 kB / 0.5644 GB, free: 14.75 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 () * Number of clocked 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.000937/0.6248, allocations: 0.815 MB / 0.5652 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.6252, allocations: 50.5 kB / 0.5653 GB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.6252, allocations: 4 kB / 0.5653 GB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.6254, allocations: 32.03 kB / 0.5653 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.6256, allocations: 7.953 kB / 0.5653 GB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.6265, allocations: 201 kB / 0.5655 GB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.6268, allocations: 0.6809 MB / 0.5662 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.6269, allocations: 19.42 kB / 0.5662 GB, free: 12.84 MB / 394.7 MB Notification: Performance of SimCode: time 3.065e-06/0.6269, allocations: 0 / 0.5662 GB, free: 12.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.464/3.091, allocations: 0.8431 MB / 0.567 GB, free: 12 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat