Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 111.6 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 212.9 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 46.94 MB / 360.9 MB, free: 4.305 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 79.86 kB / 0.4961 GB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3037, allocations: 66.03 MB / 0.5606 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001585/0.3053, allocations: 0.4916 MB / 0.5611 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003078/0.3056, allocations: 107.7 kB / 0.5612 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.3056, allocations: 0 / 0.5612 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.3056, allocations: 7.875 kB / 0.5612 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.3058, allocations: 11.98 kB / 0.5612 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.616e-05/0.3058, allocations: 3.938 kB / 0.5612 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.304e-05/0.3059, allocations: 8 kB / 0.5612 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.3059, allocations: 4 kB / 0.5613 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.3059, allocations: 7.922 kB / 0.5613 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.065e-05/0.306, allocations: 3.984 kB / 0.5613 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.306, allocations: 0 / 0.5613 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.661e-05/0.306, allocations: 19.98 kB / 0.5613 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.096e-06/0.3061, allocations: 0 / 0.5613 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.3061, allocations: 7.938 kB / 0.5613 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.842e-05/0.3062, allocations: 21.8 kB / 0.5613 GB, free: 3.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3062, allocations: 0 / 0.5613 GB, free: 3.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3062, allocations: 0 / 0.5613 GB, free: 3.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3062, allocations: 0 / 0.5613 GB, free: 3.82 MB / 398.1 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.0002968/0.3065, allocations: 246.4 kB / 0.5615 GB, free: 3.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3065, allocations: 8.031 kB / 0.5616 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.3065, allocations: 38.67 kB / 0.5616 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.076e-05/0.3066, allocations: 4.938 kB / 0.5616 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.629e-05/0.3067, allocations: 102.5 kB / 0.5617 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.3067, allocations: 4.375 kB / 0.5617 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3067, allocations: 8.375 kB / 0.5617 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.396e-05/0.3068, allocations: 34.25 kB / 0.5617 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3068, allocations: 3.938 kB / 0.5617 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.3068, allocations: 0 / 0.5617 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.3068, allocations: 3.938 kB / 0.5617 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.257e-05/0.3068, allocations: 8 kB / 0.5618 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.307, allocations: 124.7 kB / 0.5619 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3071, allocations: 38.52 kB / 0.5619 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.3072, allocations: 16.94 kB / 0.5619 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.3075, allocations: 39.94 kB / 0.562 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3075, allocations: 34.56 kB / 0.562 GB, free: 2.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3075, allocations: 0 / 0.562 GB, free: 2.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.00128/0.3088, allocations: 193.3 kB / 0.5622 GB, free: 2.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.3088, allocations: 51.41 kB / 0.5622 GB, free: 2.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.3089, allocations: 89.86 kB / 0.5623 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.3089, allocations: 33.83 kB / 0.5623 GB, free: 2.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.309, allocations: 80.14 kB / 0.5624 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.309, allocations: 11.91 kB / 0.5624 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.309, allocations: 21.7 kB / 0.5625 GB, free: 2.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3092, allocations: 310.8 kB / 0.5628 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.3092, allocations: 19.98 kB / 0.5628 GB, free: 2.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.3093, allocations: 23.86 kB / 0.5628 GB, free: 2.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3095, allocations: 52.83 kB / 0.5628 GB, free: 2.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3095, allocations: 192 / 0.5628 GB, free: 2.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002011/0.3097, allocations: 81.59 kB / 0.5629 GB, free: 1.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3097, allocations: 8 kB / 0.5629 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3097, allocations: 0 / 0.5629 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3097, allocations: 0 / 0.5629 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3098, allocations: 11.98 kB / 0.5629 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3098, allocations: 8 kB / 0.5629 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.365e-05/0.3099, allocations: 3.984 kB / 0.563 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3099, allocations: 4 kB / 0.563 GB, free: 1.938 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/0.31, allocations: 117.7 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.31, allocations: 11.89 kB / 0.5631 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.3103, allocations: 93.45 kB / 0.5632 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3103, allocations: 0 / 0.5632 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.3103, allocations: 0 / 0.5632 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3103, allocations: 3.984 kB / 0.5632 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.311, allocations: 326.3 kB / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.311, allocations: 3.938 kB / 0.5635 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.715e-05/0.3111, allocations: 20.02 kB / 0.5635 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3111, allocations: 0 / 0.5635 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3111, allocations: 4 kB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3111, allocations: 0 / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3111, allocations: 7.938 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3113, allocations: 176.3 kB / 0.5637 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.3113, allocations: 7.953 kB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3114, allocations: 4.188 kB / 0.5637 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3115, allocations: 11.98 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.3115, allocations: 0 / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.3115, allocations: 4 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.387e-05/0.3115, allocations: 75.28 kB / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3115, allocations: 0 / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.3118, allocations: 8 kB / 0.5638 GB, free: 0.9883 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000564/0.3123, allocations: 0.7172 MB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.3126, allocations: 51.89 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3126, allocations: 0 / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.3126, allocations: 23.98 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.3129, allocations: 6.438 kB / 0.5646 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.3134, allocations: 167.4 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.3137, allocations: 0.6767 MB / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.316e-05/0.3138, allocations: 8.062 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.3138, allocations: 19.42 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3138, allocations: 0 / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.3402, allocations: 1.596 MB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.79, allocations: 6.516 kB / 0.567 GB, free: 13.75 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.621935987845063]