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.001051/0.001051, allocations: 175 kB / 16.72 MB, free: 5.086 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.207/1.207, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007222/0.0007222, allocations: 95.8 kB / 271.2 MB, free: 8.242 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.2731/0.2731, allocations: 43.55 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 20 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08484/0.08517, allocations: 58.84 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0004873/0.08568, allocations: 272.4 kB / 491.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001667/0.08586, allocations: 61.41 kB / 491.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.08589, allocations: 4 kB / 491.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.726e-06/0.08591, allocations: 0 / 491.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.08604, allocations: 8 kB / 491.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.611e-05/0.08607, allocations: 11.92 kB / 491.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.148e-05/0.0861, allocations: 3.984 kB / 491.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.08615, allocations: 4 kB / 491.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.188e-05/0.08616, allocations: 0 / 491.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.0862, allocations: 7.938 kB / 491.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.08622, allocations: 7.938 kB / 491.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.879e-05/0.08628, allocations: 19.97 kB / 491.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-06/0.0863, allocations: 0 / 491.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.08633, allocations: 25.7 kB / 491.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 4.961e-05/0.08638, allocations: 19.97 kB / 491.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.0864, allocations: 4 kB / 491.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.0864, allocations: 0 / 491.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.08641, allocations: 0 / 491.4 MB, free: 10.12 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.0002002/0.08661, allocations: 319.5 kB / 491.7 MB, free: 9.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.08665, allocations: 8.031 kB / 491.7 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.08668, allocations: 38.67 kB / 491.7 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.553e-05/0.0867, allocations: 4.938 kB / 491.7 MB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.454e-05/0.08678, allocations: 160.7 kB / 491.9 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.0868, allocations: 384 / 491.9 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.08682, allocations: 4.375 kB / 491.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.468e-05/0.08689, allocations: 42.19 kB / 491.9 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.0869, allocations: 3.938 kB / 491.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.08691, allocations: 4 kB / 491.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-06/0.08692, allocations: 0 / 491.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.08695, allocations: 4 kB / 491.9 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.08707, allocations: 157.6 kB / 492.1 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.08721, allocations: 38.55 kB / 492.1 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.08724, allocations: 12.86 kB / 492.1 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003143/0.08756, allocations: 121.2 kB / 492.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.08759, allocations: 42.55 kB / 492.3 MB, free: 8.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.0876, allocations: 0 / 492.3 MB, free: 8.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001149/0.08875, allocations: 213.3 kB / 492.5 MB, free: 8.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.0888, allocations: 55.41 kB / 492.6 MB, free: 8.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.37e-05/0.08885, allocations: 97.86 kB / 492.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.08887, allocations: 25.7 kB / 492.7 MB, free: 8.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.08889, allocations: 80.14 kB / 492.8 MB, free: 8.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.08892, allocations: 11.81 kB / 492.8 MB, free: 8.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.08893, allocations: 4 kB / 492.8 MB, free: 8.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.08901, allocations: 314.8 kB / 493.1 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.0891, allocations: 32.05 kB / 493.1 MB, free: 8.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.08918, allocations: 19.98 kB / 493.1 MB, free: 8.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.08933, allocations: 56.77 kB / 493.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.08934, allocations: 0 / 493.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001921/0.08954, allocations: 89.59 kB / 493.3 MB, free: 7.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.08956, allocations: 8 kB / 493.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.08957, allocations: 0 / 493.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.08958, allocations: 0 / 493.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.08969, allocations: 16.27 kB / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.08971, allocations: 0 / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/0.08979, allocations: 12.23 kB / 493.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.08981, allocations: 4 kB / 493.3 MB, free: 7.91 MB / 378.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 5.594e-05/0.08987, allocations: 113.8 kB / 493.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.08989, allocations: 11.94 kB / 493.4 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.09013, allocations: 101.2 kB / 493.5 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.09015, allocations: 0 / 493.5 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.09015, allocations: 0 / 493.5 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.09016, allocations: 0 / 493.5 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.09078, allocations: 379.1 kB / 493.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.09079, allocations: 4 kB / 493.9 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.988e-05/0.09089, allocations: 15.98 kB / 493.9 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.0909, allocations: 4.031 kB / 493.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.09091, allocations: 4 kB / 493.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.09092, allocations: 3.938 kB / 493.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.09093, allocations: 4 kB / 494 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.09114, allocations: 188.2 kB / 494.1 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.09118, allocations: 77.11 kB / 494.2 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.09119, allocations: 0 / 494.2 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.0913, allocations: 15.98 kB / 494.2 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.09131, allocations: 0 / 494.2 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.09133, allocations: 4 kB / 494.2 MB, free: 6.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.494e-05/0.09136, allocations: 75.28 kB / 494.3 MB, free: 6.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09136, allocations: 4.094 kB / 494.3 MB, free: 6.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.09157, allocations: 8 kB / 494.3 MB, free: 6.805 MB / 378.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.0004248/0.092, allocations: 0.7326 MB / 495 MB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.09219, allocations: 52.16 kB / 495.1 MB, free: 5.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0922, allocations: 0 / 495.1 MB, free: 5.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.09229, allocations: 39.97 kB / 495.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.09248, allocations: 0 / 495.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.09295, allocations: 198.9 kB / 495.3 MB, free: 5.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.09313, allocations: 0.6809 MB / 496 MB, free: 5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.09318, allocations: 15.44 kB / 496 MB, free: 4.984 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.09318, allocations: 0 / 496 MB, free: 4.984 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.389/3.482, allocations: 0.7585 MB / 496.8 MB, free: 4.227 MB / 378.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) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches