Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001557/0.001557, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001772/0.001772, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.2189/0.2189, allocations: 44.91 MB / 359.6 MB, free: 6.309 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.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [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.002258/0.002258, allocations: 67.89 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3224, allocations: 65.46 MB / 0.5582 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001793/0.3242, allocations: 0.5301 MB / 0.5588 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004459/0.3247, allocations: 167.4 kB / 0.5589 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.3247, allocations: 0 / 0.5589 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.3247, allocations: 3.938 kB / 0.5589 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.325, allocations: 31.83 kB / 0.559 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.558e-06/0.325, allocations: 3.938 kB / 0.559 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.803e-05/0.325, allocations: 27.92 kB / 0.559 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.3251, allocations: 0 / 0.559 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.3251, allocations: 15.92 kB / 0.559 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.3252, allocations: 11.92 kB / 0.559 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3252, allocations: 4 kB / 0.559 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.3253, allocations: 55.88 kB / 0.5591 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.3253, allocations: 8 kB / 0.5591 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.3253, allocations: 7.922 kB / 0.5591 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.3254, allocations: 38.56 kB / 0.5591 GB, free: 6.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3255, allocations: 0 / 0.5591 GB, free: 6.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3255, allocations: 3.938 kB / 0.5591 GB, free: 6.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3255, allocations: 0 / 0.5591 GB, free: 6.84 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.0003426/0.3258, allocations: 273.9 kB / 0.5594 GB, free: 6.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3258, allocations: 8.031 kB / 0.5594 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.3259, allocations: 8.938 kB / 0.5594 GB, free: 6.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.326, allocations: 106.5 kB / 0.5595 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.326, allocations: 4.375 kB / 0.5595 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.326, allocations: 8.375 kB / 0.5595 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3261, allocations: 54.23 kB / 0.5596 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3262, allocations: 192 / 0.5596 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3262, allocations: 3.938 kB / 0.5596 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3262, allocations: 4 kB / 0.5596 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3263, allocations: 55.89 kB / 0.5596 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.3265, allocations: 148.7 kB / 0.5598 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.3266, allocations: 78.48 kB / 0.5598 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.3267, allocations: 24.84 kB / 0.5599 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.3269, allocations: 23.98 kB / 0.5599 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3269, allocations: 30.56 kB / 0.5599 GB, free: 5.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.3269, allocations: 4.281 kB / 0.5599 GB, free: 5.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002379/0.3272, allocations: 105.5 kB / 0.56 GB, free: 5.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.3272, allocations: 59.34 kB / 0.5601 GB, free: 5.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.3273, allocations: 93.86 kB / 0.5602 GB, free: 5.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3273, allocations: 25.7 kB / 0.5602 GB, free: 5.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.3274, allocations: 80.14 kB / 0.5603 GB, free: 5.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.3274, allocations: 35.69 kB / 0.5603 GB, free: 5.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.3275, allocations: 21.84 kB / 0.5603 GB, free: 5.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3276, allocations: 322.8 kB / 0.5606 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.3276, allocations: 16 kB / 0.5606 GB, free: 5.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.3277, allocations: 15.98 kB / 0.5607 GB, free: 5.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.744e-05/0.3278, allocations: 57.41 kB / 0.5607 GB, free: 5.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3278, allocations: 3.938 kB / 0.5607 GB, free: 5.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001288/0.3279, allocations: 85.58 kB / 0.5608 GB, free: 4.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3279, allocations: 7.938 kB / 0.5608 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3279, allocations: 7.938 kB / 0.5608 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3279, allocations: 3.984 kB / 0.5608 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.328, allocations: 19.94 kB / 0.5608 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.328, allocations: 0 / 0.5608 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.3281, allocations: 11.92 kB / 0.5609 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3281, allocations: 0 / 0.5609 GB, free: 4.883 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.449e-05/0.3282, allocations: 113.8 kB / 0.561 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.3282, allocations: 3.953 kB / 0.561 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.3284, allocations: 105.5 kB / 0.5611 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3284, allocations: 0 / 0.5611 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3284, allocations: 4 kB / 0.5611 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3284, allocations: 0 / 0.5611 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3285, allocations: 144.7 kB / 0.5612 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3285, allocations: 0 / 0.5612 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.3286, allocations: 12 kB / 0.5612 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3286, allocations: 4 kB / 0.5612 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3286, allocations: 7.922 kB / 0.5612 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3286, allocations: 4 kB / 0.5612 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3286, allocations: 3.938 kB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.3287, allocations: 113.1 kB / 0.5613 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.3288, allocations: 7.938 kB / 0.5614 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.3288, allocations: 3.938 kB / 0.5614 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.798e-05/0.3288, allocations: 7.984 kB / 0.5614 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.3288, allocations: 7.938 kB / 0.5614 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3288, allocations: 288 / 0.5614 GB, free: 4.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.3289, allocations: 79.27 kB / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3289, allocations: 0 / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001991/0.3291, allocations: 24.03 kB / 0.5615 GB, free: 4.168 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.0001363/0.3292, allocations: 103.2 kB / 0.5616 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.3294, allocations: 55.91 kB / 0.5616 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3294, allocations: 0 / 0.5616 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/0.3294, allocations: 23.94 kB / 0.5616 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.3296, allocations: 19.52 kB / 0.5617 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.3299, allocations: 162.6 kB / 0.5618 GB, free: 3.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3302, allocations: 0.6846 MB / 0.5625 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.3303, allocations: 15.44 kB / 0.5625 GB, free: 3.051 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3303, allocations: 0 / 0.5625 GB, free: 3.051 MB / 398.1 MB Notification: Performance of Templates: time 0.002657/0.3329, allocations: 0.8175 MB / 0.5633 GB, free: 2.234 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.221188527997583]