Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001261/0.001261, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001386/0.001386, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.91 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003031/0.003031, allocations: 63.91 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3146, allocations: 65.47 MB / 0.5582 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001664/0.3163, allocations: 0.4961 MB / 0.5587 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.3182, allocations: 1.416 MB / 0.5601 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.3183, allocations: 0 / 0.5601 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.3183, allocations: 0 / 0.5601 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.759e-05/0.3183, allocations: 0 / 0.5601 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.319, allocations: 219.7 kB / 0.5603 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.796e-05/0.319, allocations: 11.98 kB / 0.5603 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.3191, allocations: 7.984 kB / 0.5603 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.528e-05/0.3191, allocations: 3.938 kB / 0.5603 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.3191, allocations: 7.984 kB / 0.5603 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3191, allocations: 0 / 0.5603 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.3196, allocations: 275.6 kB / 0.5606 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.3196, allocations: 3.938 kB / 0.5606 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.3196, allocations: 4 kB / 0.5606 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3198, allocations: 142 kB / 0.5607 GB, free: 5.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3199, allocations: 4 kB / 0.5607 GB, free: 5.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3199, allocations: 0 / 0.5607 GB, free: 5.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3199, allocations: 0 / 0.5607 GB, free: 5.152 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003688/0.3202, allocations: 264.5 kB / 0.561 GB, free: 4.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3203, allocations: 12.03 kB / 0.561 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.3203, allocations: 4.922 kB / 0.561 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3204, allocations: 102.5 kB / 0.5611 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3204, allocations: 384 / 0.5611 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.3204, allocations: 4.375 kB / 0.5611 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.433e-05/0.3205, allocations: 38 kB / 0.5612 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3205, allocations: 3.938 kB / 0.5612 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.3205, allocations: 4 kB / 0.5612 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.3205, allocations: 0 / 0.5612 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.3206, allocations: 3.938 kB / 0.5612 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.3207, allocations: 124.8 kB / 0.5613 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.057e-05/0.3208, allocations: 14.58 kB / 0.5613 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.3208, allocations: 12.95 kB / 0.5613 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-06/0.3208, allocations: 0 / 0.5613 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3208, allocations: 34.5 kB / 0.5613 GB, free: 4.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.3208, allocations: 0 / 0.5613 GB, free: 4.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001336/0.3209, allocations: 45.62 kB / 0.5614 GB, free: 4.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.321, allocations: 51.41 kB / 0.5614 GB, free: 4.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.3211, allocations: 94.08 kB / 0.5615 GB, free: 4.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3211, allocations: 29.73 kB / 0.5616 GB, free: 4.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.3211, allocations: 80.14 kB / 0.5616 GB, free: 4.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3211, allocations: 3.953 kB / 0.5616 GB, free: 4.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.3212, allocations: 21.7 kB / 0.5617 GB, free: 4.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3213, allocations: 310.8 kB / 0.5619 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.3213, allocations: 0 / 0.5619 GB, free: 3.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/0.3213, allocations: 4 kB / 0.562 GB, free: 3.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.3214, allocations: 8.922 kB / 0.562 GB, free: 3.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3214, allocations: 4 kB / 0.562 GB, free: 3.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.964e-05/0.3214, allocations: 37.64 kB / 0.562 GB, free: 3.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3214, allocations: 11.92 kB / 0.562 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3215, allocations: 4 kB / 0.562 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3215, allocations: 3.938 kB / 0.562 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.17e-05/0.3215, allocations: 0 / 0.562 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3215, allocations: 0 / 0.562 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.3215, allocations: 0 / 0.562 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3215, allocations: 4 kB / 0.562 GB, free: 3.66 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 (1): * Single equations (assignments): 1 * 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.552e-05/0.3216, allocations: 113.8 kB / 0.5621 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.3216, allocations: 3.938 kB / 0.5621 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.3217, allocations: 48.78 kB / 0.5622 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3217, allocations: 0 / 0.5622 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3217, allocations: 4 kB / 0.5622 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3218, allocations: 0 / 0.5622 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.3219, allocations: 124.7 kB / 0.5623 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.3219, allocations: 8 kB / 0.5623 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3219, allocations: 0 / 0.5623 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3219, allocations: 3.938 kB / 0.5623 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.3219, allocations: 0 / 0.5623 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3219, allocations: 3.984 kB / 0.5623 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3219, allocations: 0 / 0.5623 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/0.322, allocations: 61.12 kB / 0.5624 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.322, allocations: 11.97 kB / 0.5624 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.322, allocations: 0 / 0.5624 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-05/0.322, allocations: 0 / 0.5624 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-06/0.322, allocations: 0 / 0.5624 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.322, allocations: 4 kB / 0.5624 GB, free: 3.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.902e-05/0.3221, allocations: 79.22 kB / 0.5625 GB, free: 3.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3221, allocations: 0 / 0.5625 GB, free: 3.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3223, allocations: 47.92 kB / 0.5625 GB, free: 3.074 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002555/0.3226, allocations: 135.2 kB / 0.5626 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.3227, allocations: 11.98 kB / 0.5627 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3227, allocations: 0 / 0.5627 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.3227, allocations: 33.7 kB / 0.5627 GB, free: 2.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.3229, allocations: 4 kB / 0.5627 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.3231, allocations: 106.6 kB / 0.5628 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3234, allocations: 0.6768 MB / 0.5635 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.3234, allocations: 11.56 kB / 0.5635 GB, free: 2.023 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3234, allocations: 0 / 0.5635 GB, free: 2.023 MB / 398.1 MB Notification: Performance of Templates: time 0.002582/0.326, allocations: 0.9138 MB / 0.5644 GB, free: 1.109 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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: 7.400213696062565]