Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001875/0.001875, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00233/0.00233, allocations: 209 kB / 24.48 MB, free: 3.938 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.473/1.473, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.2288/0.2288, allocations: 44.94 MB / 359.6 MB, free: 6.133 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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [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.002102/0.002102, allocations: 63.91 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3079, allocations: 65.47 MB / 0.5582 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001719/0.3096, allocations: 0.4944 MB / 0.5587 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003324/0.3099, allocations: 103.7 kB / 0.5588 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.3099, allocations: 0 / 0.5588 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.31, allocations: 0 / 0.5588 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.3102, allocations: 11.92 kB / 0.5588 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.181e-05/0.3102, allocations: 3.938 kB / 0.5588 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.944e-05/0.3102, allocations: 8 kB / 0.5588 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.3103, allocations: 7.984 kB / 0.5588 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.044e-05/0.3103, allocations: 7.984 kB / 0.5588 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.3104, allocations: 3.938 kB / 0.5588 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.3104, allocations: 0 / 0.5588 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.825e-05/0.3104, allocations: 19.98 kB / 0.5588 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.3105, allocations: 0 / 0.5588 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.222e-05/0.3105, allocations: 0 / 0.5588 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.537e-05/0.3106, allocations: 30.7 kB / 0.5588 GB, free: 6.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3106, allocations: 0 / 0.5588 GB, free: 6.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3106, allocations: 0 / 0.5588 GB, free: 6.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.3106, allocations: 0 / 0.5588 GB, free: 6.781 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.0003331/0.3109, allocations: 254.1 kB / 0.5591 GB, free: 6.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3109, allocations: 8.031 kB / 0.5591 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.311, allocations: 0.9375 kB / 0.5591 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3111, allocations: 110.5 kB / 0.5592 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.3111, allocations: 384 / 0.5592 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.3111, allocations: 384 / 0.5592 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3112, allocations: 38.25 kB / 0.5592 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3112, allocations: 192 / 0.5592 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3113, allocations: 7.938 kB / 0.5592 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3113, allocations: 0 / 0.5592 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.341e-05/0.3113, allocations: 8 kB / 0.5593 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.3114, allocations: 101.3 kB / 0.5594 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3116, allocations: 42.48 kB / 0.5594 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.3117, allocations: 12.86 kB / 0.5594 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/0.312, allocations: 40.03 kB / 0.5594 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.312, allocations: 34.56 kB / 0.5595 GB, free: 6.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.061e-06/0.312, allocations: 0 / 0.5595 GB, free: 6.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001258/0.3133, allocations: 193.5 kB / 0.5597 GB, free: 5.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.3133, allocations: 51.41 kB / 0.5597 GB, free: 5.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.3134, allocations: 93.84 kB / 0.5598 GB, free: 5.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.3134, allocations: 33.7 kB / 0.5598 GB, free: 5.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.3134, allocations: 80.27 kB / 0.5599 GB, free: 5.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.3135, allocations: 11.91 kB / 0.5599 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3135, allocations: 17.72 kB / 0.5599 GB, free: 5.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3137, allocations: 318.8 kB / 0.5602 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.121e-05/0.3138, allocations: 15.98 kB / 0.5603 GB, free: 5.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.31e-05/0.3138, allocations: 19.98 kB / 0.5603 GB, free: 5.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.314, allocations: 52.7 kB / 0.5603 GB, free: 5.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.314, allocations: 0 / 0.5603 GB, free: 5.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002011/0.3142, allocations: 81.75 kB / 0.5604 GB, free: 5.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3142, allocations: 4 kB / 0.5604 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3142, allocations: 7.922 kB / 0.5604 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3142, allocations: 0 / 0.5604 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3143, allocations: 15.98 kB / 0.5604 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3144, allocations: 0 / 0.5604 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/0.3144, allocations: 7.984 kB / 0.5604 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.3144, allocations: 4 kB / 0.5604 GB, free: 4.977 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 9.781e-05/0.3145, allocations: 109.8 kB / 0.5605 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.3146, allocations: 7.953 kB / 0.5606 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.3148, allocations: 93.11 kB / 0.5606 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3148, allocations: 4.312 kB / 0.5606 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3148, allocations: 0 / 0.5606 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3148, allocations: 0 / 0.5606 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006983/0.3155, allocations: 302.9 kB / 0.5609 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3155, allocations: 0 / 0.5609 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-05/0.3156, allocations: 15.98 kB / 0.561 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3156, allocations: 0 / 0.561 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3157, allocations: 11.98 kB / 0.561 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3157, allocations: 0 / 0.561 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3157, allocations: 0 / 0.561 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3159, allocations: 184.3 kB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.3159, allocations: 7.953 kB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.3159, allocations: 0 / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.316, allocations: 7.984 kB / 0.5612 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.3161, allocations: 7.938 kB / 0.5612 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3161, allocations: 0 / 0.5612 GB, free: 4.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.341e-05/0.3161, allocations: 79.28 kB / 0.5612 GB, free: 4.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3161, allocations: 0 / 0.5612 GB, free: 4.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000238/0.3163, allocations: 15.94 kB / 0.5613 GB, free: 4.066 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.0001469/0.3165, allocations: 103.3 kB / 0.5613 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.3167, allocations: 39.91 kB / 0.5614 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3167, allocations: 7.938 kB / 0.5614 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.3168, allocations: 23.97 kB / 0.5614 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.317, allocations: 7.938 kB / 0.5614 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.3174, allocations: 155.5 kB / 0.5616 GB, free: 3.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.3175, allocations: 67.41 kB / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.3175, allocations: 11.44 kB / 0.5616 GB, free: 3.59 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3175, allocations: 0 / 0.5616 GB, free: 3.59 MB / 398.1 MB Notification: Performance of Templates: time 0.002206/0.3197, allocations: 0.6725 MB / 0.5623 GB, free: 2.918 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.3703698492608964]