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.001702/0.001702, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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: 211.6 kB / 24.49 MB, free: 3.965 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2259/0.2259, allocations: 46.97 MB / 361.6 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.00201/0.00201, allocations: 79.77 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2994, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001639/0.3011, allocations: 491.3 kB / 0.5623 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003474/0.3014, allocations: 99.72 kB / 0.5624 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.3015, allocations: 0 / 0.5624 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.3015, allocations: 0 / 0.5624 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.3017, allocations: 23.86 kB / 0.5624 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.687e-05/0.3017, allocations: 0 / 0.5624 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.67e-05/0.3018, allocations: 4 kB / 0.5624 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.3018, allocations: 0 / 0.5624 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.3018, allocations: 15.86 kB / 0.5624 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.267e-05/0.3019, allocations: 7.984 kB / 0.5624 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.3019, allocations: 0 / 0.5624 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.828e-05/0.302, allocations: 19.98 kB / 0.5624 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.302, allocations: 0 / 0.5624 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.302, allocations: 3.938 kB / 0.5625 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.293e-05/0.3021, allocations: 30.62 kB / 0.5625 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.3021, allocations: 0 / 0.5625 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3021, allocations: 0 / 0.5625 GB, free: 3.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3021, allocations: 0 / 0.5625 GB, free: 3.48 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.0003068/0.3024, allocations: 242.1 kB / 0.5627 GB, free: 3.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3024, allocations: 8.031 kB / 0.5627 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.3025, allocations: 8.938 kB / 0.5627 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.763e-05/0.3026, allocations: 110.5 kB / 0.5628 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3026, allocations: 384 / 0.5628 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3026, allocations: 384 / 0.5628 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.086e-05/0.3027, allocations: 34.25 kB / 0.5629 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3027, allocations: 8.125 kB / 0.5629 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3027, allocations: 7.938 kB / 0.5629 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3027, allocations: 4 kB / 0.5629 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.3027, allocations: 11.92 kB / 0.5629 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.3029, allocations: 101.3 kB / 0.563 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.303, allocations: 30.61 kB / 0.563 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.3031, allocations: 12.86 kB / 0.563 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.3034, allocations: 40.03 kB / 0.5631 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.3034, allocations: 42.5 kB / 0.5631 GB, free: 2.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.3034, allocations: 0 / 0.5631 GB, free: 2.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001394/0.3048, allocations: 185.3 kB / 0.5633 GB, free: 2.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3049, allocations: 59.34 kB / 0.5633 GB, free: 2.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.305, allocations: 89.86 kB / 0.5634 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3051, allocations: 25.7 kB / 0.5635 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.3051, allocations: 84.14 kB / 0.5635 GB, free: 2.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.3051, allocations: 15.89 kB / 0.5636 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.3052, allocations: 17.72 kB / 0.5636 GB, free: 2.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3054, allocations: 314.8 kB / 0.5639 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/0.3055, allocations: 19.97 kB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.3055, allocations: 19.98 kB / 0.5639 GB, free: 1.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3057, allocations: 48.95 kB / 0.564 GB, free: 1.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3057, allocations: 3.938 kB / 0.564 GB, free: 1.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002517/0.3059, allocations: 77.59 kB / 0.564 GB, free: 1.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.306, allocations: 8 kB / 0.564 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.306, allocations: 0 / 0.564 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.306, allocations: 3.938 kB / 0.564 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.3061, allocations: 15.98 kB / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3061, allocations: 0 / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.3062, allocations: 8 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3062, allocations: 4.234 kB / 0.5641 GB, free: 1.68 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.008e-05/0.3063, allocations: 109.8 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.3063, allocations: 7.953 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.3066, allocations: 97.11 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3066, allocations: 0 / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3066, allocations: 4 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.3066, allocations: 4 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.3066, allocations: 0 / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.3067, allocations: 7.984 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.3067, allocations: 0 / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003233/0.3071, allocations: 164.9 kB / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002955/0.3074, allocations: 254.7 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.873e-05/0.3074, allocations: 23.98 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.758e-05/0.3075, allocations: 75.28 kB / 0.5648 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of Backend: time 1.71e-07/0.3075, allocations: 0 / 0.5648 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.3079, allocations: 110.3 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004129/0.3083, allocations: 0.5409 MB / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of Templates: time 0.003416/0.3117, allocations: 0.8445 MB / 0.5662 GB, free: 15.36 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: 4.754528850004135]