Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001765/0.001765, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002166/0.002166, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.3 MB / 258 MB, free: 8.184 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2304/0.2304, allocations: 46.95 MB / 361.4 MB, free: 4.367 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 87.86 kB / 0.4972 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3097, allocations: 66.03 MB / 0.5616 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001501/0.3112, allocations: 0.5382 MB / 0.5622 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004003/0.3116, allocations: 159.5 kB / 0.5623 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.3117, allocations: 0 / 0.5623 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.3117, allocations: 7.875 kB / 0.5623 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.3119, allocations: 39.77 kB / 0.5624 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.3119, allocations: 0 / 0.5624 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.312, allocations: 27.92 kB / 0.5624 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.3121, allocations: 3.984 kB / 0.5624 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.274e-05/0.3121, allocations: 11.94 kB / 0.5624 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.3121, allocations: 15.92 kB / 0.5624 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3121, allocations: 0 / 0.5624 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3123, allocations: 47.95 kB / 0.5625 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.3123, allocations: 15.91 kB / 0.5625 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.3123, allocations: 7.938 kB / 0.5625 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3124, allocations: 46.62 kB / 0.5625 GB, free: 3.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3124, allocations: 0 / 0.5625 GB, free: 3.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3124, allocations: 0 / 0.5625 GB, free: 3.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.3124, allocations: 0 / 0.5625 GB, free: 3.629 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.0003557/0.3128, allocations: 269.9 kB / 0.5628 GB, free: 3.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3128, allocations: 8.031 kB / 0.5628 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.3128, allocations: 4.938 kB / 0.5628 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.3129, allocations: 110.5 kB / 0.5629 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.313, allocations: 4.375 kB / 0.5629 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.313, allocations: 8.375 kB / 0.5629 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3131, allocations: 54.23 kB / 0.563 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3131, allocations: 192 / 0.563 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3131, allocations: 7.938 kB / 0.563 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3131, allocations: 8 kB / 0.563 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.3132, allocations: 51.89 kB / 0.563 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.3134, allocations: 144.7 kB / 0.5632 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.3136, allocations: 70.55 kB / 0.5632 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.3136, allocations: 28.84 kB / 0.5633 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.3139, allocations: 19.98 kB / 0.5633 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3139, allocations: 38.55 kB / 0.5633 GB, free: 2.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3139, allocations: 0 / 0.5633 GB, free: 2.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000241/0.3142, allocations: 109.8 kB / 0.5634 GB, free: 2.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3142, allocations: 59.34 kB / 0.5635 GB, free: 2.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.3143, allocations: 93.84 kB / 0.5636 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.3143, allocations: 25.7 kB / 0.5636 GB, free: 2.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.3143, allocations: 80.14 kB / 0.5637 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.3144, allocations: 35.83 kB / 0.5637 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.3144, allocations: 29.7 kB / 0.5637 GB, free: 2.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3145, allocations: 310.8 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.3146, allocations: 23.98 kB / 0.5641 GB, free: 1.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-05/0.3146, allocations: 12 kB / 0.5641 GB, free: 1.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.3147, allocations: 52.84 kB / 0.5641 GB, free: 1.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3147, allocations: 3.938 kB / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001323/0.3148, allocations: 85.58 kB / 0.5642 GB, free: 1.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3148, allocations: 4 kB / 0.5642 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3148, allocations: 12.59 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3149, allocations: 0 / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.315, allocations: 19.92 kB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.315, allocations: 0 / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.315, allocations: 15.92 kB / 0.5643 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.315, allocations: 0 / 0.5643 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 (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.281e-05/0.3151, allocations: 113.8 kB / 0.5644 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.3151, allocations: 7.891 kB / 0.5644 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.3153, allocations: 109.4 kB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3153, allocations: 0 / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3153, allocations: 0 / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3153, allocations: 0 / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3154, allocations: 140.7 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3154, allocations: 0 / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.63e-05/0.3155, allocations: 23.98 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3155, allocations: 4 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.3155, allocations: 3.938 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3155, allocations: 0 / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3155, allocations: 3.938 kB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3157, allocations: 113.1 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.3157, allocations: 11.94 kB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3157, allocations: 3.938 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.443e-05/0.3157, allocations: 0 / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.3158, allocations: 11.92 kB / 0.5648 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.3158, allocations: 4 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.454e-05/0.3158, allocations: 75.28 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3158, allocations: 4.094 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002005/0.316, allocations: 12 kB / 0.5649 GB, free: 0.9688 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.0001466/0.3161, allocations: 111.2 kB / 0.565 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.3163, allocations: 48.11 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3163, allocations: 3.938 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.3163, allocations: 36.05 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.3165, allocations: 4 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.3168, allocations: 144.9 kB / 0.5652 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3171, allocations: 0.6807 MB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.463e-05/0.3171, allocations: 7.781 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.3172, allocations: 11.44 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3172, allocations: 0 / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Templates: time 0.003071/0.3202, allocations: 0.7004 MB / 0.5666 GB, free: 15.17 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.9497282495722175]