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.001702/0.001702, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001842/0.001842, allocations: 210.7 kB / 23.73 MB, free: 4.387 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2351/0.2351, allocations: 44.94 MB / 358.8 MB, free: 6.055 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.002199/0.002199, allocations: 59.91 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3114, allocations: 65.48 MB / 0.5574 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001809/0.3132, allocations: 0.5187 MB / 0.5579 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004523/0.3137, allocations: 155.5 kB / 0.5581 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.3137, allocations: 0 / 0.5581 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.3137, allocations: 3.938 kB / 0.5581 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.314, allocations: 27.84 kB / 0.5581 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.314, allocations: 3.938 kB / 0.5581 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.41e-05/0.3141, allocations: 35.89 kB / 0.5582 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.3141, allocations: 4 kB / 0.5582 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.3141, allocations: 7.938 kB / 0.5582 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.3142, allocations: 19.86 kB / 0.5582 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.3142, allocations: 0 / 0.5582 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3143, allocations: 43.95 kB / 0.5582 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.3143, allocations: 3.984 kB / 0.5582 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.3144, allocations: 15.92 kB / 0.5583 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.3145, allocations: 38.56 kB / 0.5583 GB, free: 6.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3145, allocations: 0 / 0.5583 GB, free: 6.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3145, allocations: 0 / 0.5583 GB, free: 6.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3145, allocations: 4 kB / 0.5583 GB, free: 6.621 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.0003658/0.3149, allocations: 265.9 kB / 0.5586 GB, free: 6.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3149, allocations: 8.031 kB / 0.5586 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.3149, allocations: 4.938 kB / 0.5586 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.315, allocations: 110.5 kB / 0.5587 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3151, allocations: 4.375 kB / 0.5587 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.3151, allocations: 8.312 kB / 0.5587 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.3152, allocations: 54.23 kB / 0.5587 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3152, allocations: 192 / 0.5587 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.3152, allocations: 7.938 kB / 0.5587 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3152, allocations: 8 kB / 0.5587 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.3154, allocations: 55.89 kB / 0.5588 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.3155, allocations: 117.2 kB / 0.5589 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.3157, allocations: 74.5 kB / 0.559 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/0.3158, allocations: 32.84 kB / 0.559 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.316, allocations: 23.97 kB / 0.559 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.316, allocations: 38.78 kB / 0.5591 GB, free: 5.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.196e-06/0.316, allocations: 3.984 kB / 0.5591 GB, free: 5.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002822/0.3163, allocations: 105.6 kB / 0.5592 GB, free: 5.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.3164, allocations: 55.39 kB / 0.5592 GB, free: 5.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.3165, allocations: 97.86 kB / 0.5593 GB, free: 5.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3165, allocations: 25.7 kB / 0.5594 GB, free: 5.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.3165, allocations: 80.14 kB / 0.5594 GB, free: 5.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.3166, allocations: 35.69 kB / 0.5595 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.3166, allocations: 25.72 kB / 0.5595 GB, free: 5.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3168, allocations: 310.8 kB / 0.5598 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.3168, allocations: 19.98 kB / 0.5598 GB, free: 4.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.296e-05/0.3169, allocations: 19.98 kB / 0.5598 GB, free: 4.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.929e-05/0.317, allocations: 52.92 kB / 0.5599 GB, free: 4.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.317, allocations: 4 kB / 0.5599 GB, free: 4.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001372/0.3171, allocations: 86.14 kB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3171, allocations: 6.812 kB / 0.56 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3171, allocations: 0 / 0.56 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3171, allocations: 11.88 kB / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3172, allocations: 15.98 kB / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3172, allocations: 0 / 0.56 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.3173, allocations: 3.938 kB / 0.56 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3173, allocations: 4 kB / 0.56 GB, free: 4.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 (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.893e-05/0.3174, allocations: 117.8 kB / 0.5601 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.3174, allocations: 3.953 kB / 0.5601 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.3176, allocations: 105.5 kB / 0.5602 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3176, allocations: 7.875 kB / 0.5602 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3176, allocations: 0 / 0.5602 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3176, allocations: 0 / 0.5602 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.3177, allocations: 117.3 kB / 0.5603 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3177, allocations: 0 / 0.5603 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.3178, allocations: 19.92 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3178, allocations: 0 / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.3178, allocations: 0 / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3178, allocations: 8 kB / 0.5604 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3178, allocations: 3.938 kB / 0.5604 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.318, allocations: 117 kB / 0.5605 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.318, allocations: 3.938 kB / 0.5605 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.318, allocations: 8 kB / 0.5605 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.318, allocations: 0 / 0.5605 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.318, allocations: 11.92 kB / 0.5605 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.318, allocations: 4 kB / 0.5605 GB, free: 4.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.732e-05/0.3181, allocations: 75.28 kB / 0.5606 GB, free: 4.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3181, allocations: 288 / 0.5606 GB, free: 4.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.3183, allocations: 20.09 kB / 0.5606 GB, free: 4.031 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.0001629/0.3184, allocations: 107.2 kB / 0.5607 GB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.3186, allocations: 55.86 kB / 0.5607 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3186, allocations: 0 / 0.5607 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.3186, allocations: 27.92 kB / 0.5608 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.3188, allocations: 8 kB / 0.5608 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.3191, allocations: 136.9 kB / 0.5609 GB, free: 3.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.204e-05/0.3192, allocations: 71.34 kB / 0.561 GB, free: 3.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.641e-05/0.3192, allocations: 7.781 kB / 0.561 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.3192, allocations: 11.44 kB / 0.561 GB, free: 3.559 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3192, allocations: 0 / 0.561 GB, free: 3.559 MB / 398.1 MB Notification: Performance of Templates: time 0.003163/0.3224, allocations: 0.631 MB / 0.5616 GB, free: 2.934 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/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: 4.910319581627846]