Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0008123/0.0008123, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003329/0.003329, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8556/0.8556, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2472/0.2472, allocations: 34.24 MB / 295.6 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.887e-05, allocations: 2.281 kB / 443.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001248/0.001277, allocations: 0.5192 MB / 443.9 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000325/0.001602, allocations: 151.4 kB / 444.1 MB, free: 412 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.001628, allocations: 4 kB / 444.1 MB, free: 408 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.001645, allocations: 3.938 kB / 444.1 MB, free: 404 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.001893, allocations: 31.78 kB / 444.1 MB, free: 372 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.001897, allocations: 4 kB / 444.1 MB, free: 368 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.9e-05/0.001966, allocations: 19.92 kB / 444.1 MB, free: 348 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.00202, allocations: 7.922 kB / 444.1 MB, free: 340 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.002051, allocations: 8 kB / 444.1 MB, free: 332 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.002108, allocations: 15.91 kB / 444.2 MB, free: 316 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.002121, allocations: 4 kB / 444.2 MB, free: 312 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-05/0.002212, allocations: 47.94 kB / 444.2 MB, free: 264 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.002225, allocations: 11.94 kB / 444.2 MB, free: 252 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.002238, allocations: 0 / 444.2 MB, free: 252 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.002348, allocations: 51.8 kB / 444.3 MB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.002351, allocations: 4 kB / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.002352, allocations: 0 / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.002356, allocations: 0 / 444.3 MB, free: 196 kB / 410.7 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.1693/0.1717, allocations: 265.2 kB / 444.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1717, allocations: 8.75 kB / 444.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.1717, allocations: 4.719 kB / 444.6 MB, free: 44.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.084e-05/0.1718, allocations: 106.3 kB / 444.7 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1718, allocations: 1.406 kB / 444.7 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1718, allocations: 5.844 kB / 444.7 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.1719, allocations: 65.89 kB / 444.7 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.172, allocations: 0.9062 kB / 444.7 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.172, allocations: 3.281 kB / 444.7 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.172, allocations: 0.9375 kB / 444.7 MB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.038e-05/0.172, allocations: 59.3 kB / 444.8 MB, free: 44.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.1722, allocations: 114.6 kB / 444.9 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1723, allocations: 74.89 kB / 445 MB, free: 44.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.1723, allocations: 25.97 kB / 445 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.1725, allocations: 22.78 kB / 445 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.1725, allocations: 37.19 kB / 445.1 MB, free: 44.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.1725, allocations: 0 / 445.1 MB, free: 44.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000185/0.1727, allocations: 102.4 kB / 445.2 MB, free: 44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.1728, allocations: 54.38 kB / 445.2 MB, free: 43.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.545e-05/0.1728, allocations: 96.75 kB / 445.3 MB, free: 43.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.1728, allocations: 26.83 kB / 445.3 MB, free: 43.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-06/0.1728, allocations: 80.7 kB / 445.4 MB, free: 43.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.1728, allocations: 44.12 kB / 445.5 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.1729, allocations: 24.92 kB / 445.5 MB, free: 43.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.267e-05/0.1729, allocations: 315.4 kB / 445.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.1729, allocations: 18.25 kB / 445.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.1729, allocations: 17.52 kB / 445.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.173, allocations: 54.92 kB / 445.9 MB, free: 43.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.173, allocations: 0 / 445.9 MB, free: 43.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.358e-05/0.1731, allocations: 87.72 kB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1731, allocations: 6.344 kB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1731, allocations: 96 / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1731, allocations: 6.844 kB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.1732, allocations: 17.91 kB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1732, allocations: 2.516 kB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.1732, allocations: 17.08 kB / 446 MB, free: 43.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1732, allocations: 5.484 kB / 446 MB, free: 43.32 MB / 410.7 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 4.421e-05/0.1733, allocations: 115.9 kB / 446.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.1733, allocations: 2.875 kB / 446.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1734, allocations: 98.67 kB / 446.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1734, allocations: 2.875 kB / 446.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1734, allocations: 3.719 kB / 446.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1734, allocations: 3.938 kB / 446.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.535e-05/0.1735, allocations: 120.2 kB / 446.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1735, allocations: 0 / 446.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.1735, allocations: 14.61 kB / 446.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1735, allocations: 3.062 kB / 446.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1735, allocations: 6.125 kB / 446.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1735, allocations: 0 / 446.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1735, allocations: 0 / 446.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.183e-05/0.1736, allocations: 113.4 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-06/0.1736, allocations: 14.12 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.1736, allocations: 0 / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-06/0.1736, allocations: 4 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.1736, allocations: 6.031 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1736, allocations: 2.594 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.082e-05/0.1737, allocations: 78 kB / 446.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1737, allocations: 3.062 kB / 446.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.1738, allocations: 20.94 kB / 446.6 MB, free: 42.88 MB / 410.7 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.0001227/0.1739, allocations: 116.7 kB / 446.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.174, allocations: 52.38 kB / 446.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.174, allocations: 3.938 kB / 446.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.174, allocations: 23.38 kB / 446.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.1742, allocations: 7.656 kB / 446.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.1744, allocations: 161.7 kB / 447 MB, free: 42.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.1745, allocations: 72.38 kB / 447 MB, free: 42.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.1745, allocations: 14.31 kB / 447.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1745, allocations: 0 / 447.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of Templates: time 0.001679/0.1762, allocations: 0.8326 MB / 447.9 MB, free: 42.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.506865263916552]