Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001407/0.001407, 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.001585/0.001585, allocations: 211.5 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.437/1.437, allocations: 230.6 MB / 258.2 MB, free: 7.77 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.2316/0.2316, allocations: 46.96 MB / 361.6 MB, free: 4.016 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 71.89 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3125, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001812/0.3143, allocations: 0.5266 MB / 0.5623 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004504/0.3147, allocations: 147.5 kB / 0.5625 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.3148, allocations: 0 / 0.5625 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.3148, allocations: 0 / 0.5625 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.315, allocations: 39.78 kB / 0.5625 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.998e-06/0.315, allocations: 0 / 0.5625 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.3151, allocations: 23.91 kB / 0.5625 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.3151, allocations: 7.984 kB / 0.5625 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.3151, allocations: 11.88 kB / 0.5625 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.3152, allocations: 11.92 kB / 0.5626 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.3152, allocations: 4 kB / 0.5626 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3153, allocations: 43.95 kB / 0.5626 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.3154, allocations: 11.98 kB / 0.5626 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.3154, allocations: 11.86 kB / 0.5626 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.3155, allocations: 39.55 kB / 0.5627 GB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3155, allocations: 0 / 0.5627 GB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3155, allocations: 0 / 0.5627 GB, free: 3.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3155, allocations: 0 / 0.5627 GB, free: 3.289 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000318/0.3158, allocations: 268.9 kB / 0.5629 GB, free: 2.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3159, allocations: 12.03 kB / 0.5629 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.3159, allocations: 8.875 kB / 0.5629 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.316, allocations: 110.5 kB / 0.563 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.316, allocations: 384 / 0.563 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.316, allocations: 8.375 kB / 0.563 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3162, allocations: 58.17 kB / 0.5631 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3162, allocations: 4.188 kB / 0.5631 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3162, allocations: 3.938 kB / 0.5631 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3162, allocations: 0 / 0.5631 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3163, allocations: 51.95 kB / 0.5632 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.3164, allocations: 117.3 kB / 0.5633 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.3166, allocations: 74.53 kB / 0.5633 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.3166, allocations: 32.84 kB / 0.5634 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.3169, allocations: 19.98 kB / 0.5634 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.3169, allocations: 46.53 kB / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3169, allocations: 0 / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000235/0.3171, allocations: 101.8 kB / 0.5635 GB, free: 2.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3172, allocations: 51.41 kB / 0.5636 GB, free: 2.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.3173, allocations: 97.84 kB / 0.5637 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3173, allocations: 33.83 kB / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.3173, allocations: 80.14 kB / 0.5638 GB, free: 1.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.3173, allocations: 31.7 kB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.3174, allocations: 25.7 kB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3175, allocations: 314.8 kB / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.3176, allocations: 19.98 kB / 0.5642 GB, free: 1.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.3176, allocations: 20.25 kB / 0.5642 GB, free: 1.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.202e-05/0.3177, allocations: 52.84 kB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3177, allocations: 0 / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001307/0.3178, allocations: 85.58 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3178, allocations: 8 kB / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3178, allocations: 4 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3178, allocations: 3.938 kB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/0.3179, allocations: 15.98 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3179, allocations: 0 / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.318, allocations: 11.94 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.318, allocations: 0 / 0.5644 GB, free: 1.379 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 (10): * Single equations (assignments): 10 * 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.556e-05/0.3181, allocations: 117.8 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3181, allocations: 3.953 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.3183, allocations: 97.56 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3183, allocations: 7.875 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3183, allocations: 8 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3183, allocations: 0 / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.3184, allocations: 117.3 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3184, allocations: 0 / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.3185, allocations: 16.36 kB / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3185, allocations: 0 / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3185, allocations: 8 kB / 0.5647 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3185, allocations: 3.938 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3185, allocations: 7.875 kB / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.3186, allocations: 113 kB / 0.5648 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.3186, allocations: 11.94 kB / 0.5648 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3186, allocations: 4 kB / 0.5648 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.214e-05/0.3187, allocations: 0 / 0.5648 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.3187, allocations: 11.92 kB / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3187, allocations: 0 / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.801e-05/0.3187, allocations: 79.28 kB / 0.5649 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3187, allocations: 0 / 0.5649 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.3189, allocations: 16 kB / 0.565 GB, free: 0.6992 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 (10): * Single equations (assignments): 10 * 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.0001353/0.3191, allocations: 111.1 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.3192, allocations: 48.08 kB / 0.5651 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3192, allocations: 0 / 0.5651 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.754e-05/0.3193, allocations: 35.92 kB / 0.5651 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.3194, allocations: 0 / 0.5651 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.3197, allocations: 166.6 kB / 0.5653 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.699e-05/0.3198, allocations: 67.28 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.3198, allocations: 15.44 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3198, allocations: 0 / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of Templates: time 0.002451/0.3223, allocations: 0.8255 MB / 0.5662 GB, free: 15.38 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.3173575000837445]