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.001511/0.001511, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001651/0.001651, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.397/1.397, allocations: 230.6 MB / 258.3 MB, free: 8 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.2399/0.2399, allocations: 46.94 MB / 361.6 MB, free: 4.27 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: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.91 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 66.03 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001708/0.3145, allocations: 0.507 MB / 0.5624 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004052/0.3149, allocations: 107.7 kB / 0.5625 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.3149, allocations: 4 kB / 0.5625 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.315, allocations: 0 / 0.5625 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.3152, allocations: 11.92 kB / 0.5625 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.146e-05/0.3152, allocations: 7.938 kB / 0.5625 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.209e-05/0.3153, allocations: 4 kB / 0.5625 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.3153, allocations: 4 kB / 0.5625 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.682e-05/0.3153, allocations: 0 / 0.5625 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.3154, allocations: 11.91 kB / 0.5625 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.3154, allocations: 4 kB / 0.5625 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.3155, allocations: 15.98 kB / 0.5625 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-06/0.3155, allocations: 4 kB / 0.5625 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.3155, allocations: 8 kB / 0.5625 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.058e-05/0.3156, allocations: 15.58 kB / 0.5625 GB, free: 3.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3156, allocations: 0 / 0.5625 GB, free: 3.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.3156, allocations: 4 kB / 0.5625 GB, free: 3.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3156, allocations: 0 / 0.5625 GB, free: 3.699 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.0003675/0.316, allocations: 245.1 kB / 0.5628 GB, free: 3.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.316, allocations: 8.031 kB / 0.5628 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.3161, allocations: 4.938 kB / 0.5628 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3162, allocations: 110.5 kB / 0.5629 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.3162, allocations: 4.375 kB / 0.5629 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.3162, allocations: 4.375 kB / 0.5629 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.574e-05/0.3163, allocations: 34.27 kB / 0.5629 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3163, allocations: 192 / 0.5629 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3164, allocations: 3.938 kB / 0.5629 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3164, allocations: 0 / 0.5629 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.387e-05/0.3164, allocations: 7.984 kB / 0.563 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.3166, allocations: 124.8 kB / 0.5631 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3167, allocations: 46.48 kB / 0.5631 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.3168, allocations: 8.859 kB / 0.5631 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/0.3171, allocations: 44.03 kB / 0.5632 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.3171, allocations: 34.56 kB / 0.5632 GB, free: 2.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3171, allocations: 4 kB / 0.5632 GB, free: 2.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001269/0.3184, allocations: 185.3 kB / 0.5634 GB, free: 2.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3185, allocations: 59.34 kB / 0.5634 GB, free: 2.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.13e-05/0.3185, allocations: 97.84 kB / 0.5635 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3186, allocations: 25.7 kB / 0.5636 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.3186, allocations: 84.14 kB / 0.5636 GB, free: 2.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.3186, allocations: 11.91 kB / 0.5636 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.3187, allocations: 13.72 kB / 0.5637 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3188, allocations: 318.8 kB / 0.564 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.3189, allocations: 15.98 kB / 0.564 GB, free: 2.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.319, allocations: 20.11 kB / 0.564 GB, free: 2.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3191, allocations: 52.95 kB / 0.564 GB, free: 1.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3191, allocations: 0 / 0.564 GB, free: 1.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001984/0.3193, allocations: 81.94 kB / 0.5641 GB, free: 1.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3193, allocations: 11.94 kB / 0.5641 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3193, allocations: 0 / 0.5641 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3193, allocations: 0 / 0.5641 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3195, allocations: 11.98 kB / 0.5641 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3195, allocations: 4 kB / 0.5642 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.171e-05/0.3196, allocations: 7.984 kB / 0.5642 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3196, allocations: 7.984 kB / 0.5642 GB, free: 1.855 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 8.194e-05/0.3196, allocations: 105.8 kB / 0.5643 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.3197, allocations: 15.89 kB / 0.5643 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.3199, allocations: 93.17 kB / 0.5644 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3199, allocations: 0 / 0.5644 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3199, allocations: 0 / 0.5644 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3199, allocations: 0 / 0.5644 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007062/0.3207, allocations: 322.4 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3207, allocations: 0 / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.319e-05/0.3207, allocations: 20.02 kB / 0.5647 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3208, allocations: 0 / 0.5647 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3208, allocations: 0 / 0.5647 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3208, allocations: 3.984 kB / 0.5647 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3208, allocations: 4 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.321, allocations: 184.2 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-06/0.321, allocations: 3.953 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.321, allocations: 4.188 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3211, allocations: 15.94 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.3212, allocations: 7.922 kB / 0.5649 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3212, allocations: 4 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.991e-05/0.3212, allocations: 75.28 kB / 0.565 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3212, allocations: 0 / 0.565 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.3214, allocations: 11.94 kB / 0.565 GB, free: 0.9102 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.0001339/0.3216, allocations: 103.9 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3218, allocations: 51.84 kB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3218, allocations: 0 / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.3219, allocations: 23.97 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.3221, allocations: 4 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.3225, allocations: 159.6 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3229, allocations: 0.6768 MB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.3229, allocations: 11.44 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3229, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Templates: time 0.002304/0.3252, allocations: 0.6569 MB / 0.5666 GB, free: 15.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] 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: 7.000614796066657]