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.001718/0.001718, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002072/0.002072, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2427/0.2427, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.00292/0.00292, allocations: 75.88 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3155, allocations: 66.03 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001585/0.3171, allocations: 0.4915 MB / 0.5615 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003494/0.3174, allocations: 99.66 kB / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.3175, allocations: 0 / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.3175, allocations: 0 / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.3177, allocations: 15.92 kB / 0.5617 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.788e-05/0.3177, allocations: 0 / 0.5617 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.579e-05/0.3177, allocations: 7.984 kB / 0.5617 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.3178, allocations: 8 kB / 0.5617 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.3178, allocations: 7.938 kB / 0.5617 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.163e-05/0.3178, allocations: 7.922 kB / 0.5617 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.3179, allocations: 0 / 0.5617 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.188e-05/0.3179, allocations: 19.98 kB / 0.5617 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.318, allocations: 3.984 kB / 0.5617 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.318, allocations: 0 / 0.5617 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.646e-05/0.3181, allocations: 26.59 kB / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3181, allocations: 0 / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3181, allocations: 0 / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3181, allocations: 0 / 0.5617 GB, free: 3.508 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.0003164/0.3184, allocations: 254.1 kB / 0.562 GB, free: 3.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3184, allocations: 8.031 kB / 0.562 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.3185, allocations: 4.938 kB / 0.562 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.3186, allocations: 102.5 kB / 0.5621 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3186, allocations: 384 / 0.5621 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3186, allocations: 4.375 kB / 0.5621 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/0.3187, allocations: 42.19 kB / 0.5621 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3187, allocations: 192 / 0.5621 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3187, allocations: 3.938 kB / 0.5621 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3187, allocations: 0 / 0.5621 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.3187, allocations: 4 kB / 0.5621 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.3189, allocations: 113.3 kB / 0.5622 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3191, allocations: 30.58 kB / 0.5623 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.3191, allocations: 12.94 kB / 0.5623 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/0.3195, allocations: 39.89 kB / 0.5623 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3195, allocations: 38.5 kB / 0.5624 GB, free: 2.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3195, allocations: 0 / 0.5624 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001387/0.3209, allocations: 189.3 kB / 0.5625 GB, free: 2.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3209, allocations: 59.33 kB / 0.5626 GB, free: 2.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.321, allocations: 93.86 kB / 0.5627 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.321, allocations: 29.7 kB / 0.5627 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.321, allocations: 80.14 kB / 0.5628 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.3211, allocations: 12.03 kB / 0.5628 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.3211, allocations: 25.7 kB / 0.5628 GB, free: 2.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3212, allocations: 310.8 kB / 0.5631 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.885e-05/0.3213, allocations: 19.98 kB / 0.5631 GB, free: 1.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.3214, allocations: 19.92 kB / 0.5632 GB, free: 1.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3216, allocations: 44.83 kB / 0.5632 GB, free: 1.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3216, allocations: 0 / 0.5632 GB, free: 1.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002185/0.3218, allocations: 85.59 kB / 0.5633 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3218, allocations: 4 kB / 0.5633 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3218, allocations: 3.938 kB / 0.5633 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3218, allocations: 0 / 0.5633 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3219, allocations: 15.98 kB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3219, allocations: 0 / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.322, allocations: 8.234 kB / 0.5633 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3221, allocations: 0 / 0.5633 GB, free: 1.711 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.564e-05/0.3221, allocations: 113.8 kB / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.3222, allocations: 7.953 kB / 0.5634 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.3224, allocations: 101.1 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3224, allocations: 288 / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3224, allocations: 0 / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3224, allocations: 0 / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/0.3232, allocations: 306.9 kB / 0.5638 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3232, allocations: 4 kB / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3233, allocations: 11.98 kB / 0.5638 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3233, allocations: 0 / 0.5638 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3233, allocations: 8 kB / 0.5638 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3233, allocations: 3.984 kB / 0.5638 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3233, allocations: 0 / 0.5638 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.3236, allocations: 176.3 kB / 0.564 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.3236, allocations: 7.984 kB / 0.564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.3236, allocations: 8 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3237, allocations: 11.92 kB / 0.564 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.3237, allocations: 0 / 0.564 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3237, allocations: 4 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.787e-05/0.3238, allocations: 79.22 kB / 0.5641 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3238, allocations: 0 / 0.5641 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.324, allocations: 11.94 kB / 0.5641 GB, free: 0.793 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.0001307/0.3241, allocations: 107.3 kB / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3244, allocations: 47.89 kB / 0.5643 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3244, allocations: 0 / 0.5643 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/0.3244, allocations: 23.92 kB / 0.5643 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.3247, allocations: 13.41 kB / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.3251, allocations: 125.9 kB / 0.5644 GB, free: 456 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.8e-05/0.3251, allocations: 67.41 kB / 0.5645 GB, free: 368 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.094e-05/0.3252, allocations: 4.25 kB / 0.5645 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.3252, allocations: 7.438 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3252, allocations: 0 / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of Templates: time 0.003057/0.3283, allocations: 0.7128 MB / 0.5652 GB, free: 15.64 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/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: 4.972433695103973]