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.001822/0.001822, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002325/0.002325, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.505/1.505, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2532/0.2532, allocations: 46.9 MB / 361.1 MB, free: 4.629 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.00239/0.00239, allocations: 79.86 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3273, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001779/0.3291, allocations: 0.5265 MB / 0.5617 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.3295, allocations: 171.4 kB / 0.5619 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.3296, allocations: 0 / 0.5619 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.3296, allocations: 7.875 kB / 0.5619 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.3299, allocations: 31.84 kB / 0.5619 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.3299, allocations: 0 / 0.5619 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.18e-05/0.3299, allocations: 31.91 kB / 0.5619 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.33, allocations: 0 / 0.5619 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.33, allocations: 11.92 kB / 0.5619 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.3301, allocations: 15.92 kB / 0.562 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3301, allocations: 0 / 0.562 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.3302, allocations: 47.95 kB / 0.562 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.3302, allocations: 11.94 kB / 0.562 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.3303, allocations: 19.84 kB / 0.562 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3304, allocations: 38.7 kB / 0.5621 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3304, allocations: 0 / 0.5621 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3304, allocations: 0 / 0.5621 GB, free: 4.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3304, allocations: 0 / 0.5621 GB, free: 4.145 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.0004012/0.3308, allocations: 347.3 kB / 0.5624 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3308, allocations: 8.031 kB / 0.5624 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.3309, allocations: 4.938 kB / 0.5624 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.331, allocations: 168.4 kB / 0.5626 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.331, allocations: 12.31 kB / 0.5626 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.331, allocations: 384 / 0.5626 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3312, allocations: 58.23 kB / 0.5626 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3312, allocations: 192 / 0.5626 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3312, allocations: 7.938 kB / 0.5627 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3312, allocations: 0 / 0.5627 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3313, allocations: 51.95 kB / 0.5627 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.3315, allocations: 173.6 kB / 0.5629 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3317, allocations: 74.55 kB / 0.5629 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.3317, allocations: 32.84 kB / 0.563 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003845/0.3321, allocations: 247.3 kB / 0.5632 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.3322, allocations: 34.55 kB / 0.5632 GB, free: 2.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.3322, allocations: 0 / 0.5632 GB, free: 2.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002487/0.3324, allocations: 105.8 kB / 0.5633 GB, free: 2.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.3324, allocations: 59.41 kB / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.3325, allocations: 97.84 kB / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3325, allocations: 25.7 kB / 0.5635 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.3326, allocations: 84.08 kB / 0.5636 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.3326, allocations: 31.7 kB / 0.5636 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.3327, allocations: 29.7 kB / 0.5637 GB, free: 2.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3328, allocations: 314.8 kB / 0.564 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/0.3328, allocations: 24.11 kB / 0.564 GB, free: 1.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.3329, allocations: 20 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.756e-05/0.333, allocations: 48.84 kB / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.333, allocations: 0 / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001316/0.3331, allocations: 85.58 kB / 0.5641 GB, free: 1.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3331, allocations: 8.656 kB / 0.5641 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3331, allocations: 3.938 kB / 0.5641 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3331, allocations: 0 / 0.5641 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3332, allocations: 19.92 kB / 0.5642 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3332, allocations: 0 / 0.5642 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.3333, allocations: 11.94 kB / 0.5642 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3333, allocations: 0 / 0.5642 GB, free: 1.719 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 9.28e-05/0.3334, allocations: 117.8 kB / 0.5643 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.3334, allocations: 3.953 kB / 0.5643 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.3336, allocations: 109.5 kB / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3336, allocations: 0 / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3336, allocations: 0 / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3336, allocations: 0 / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3338, allocations: 169.7 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3338, allocations: 8 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.3338, allocations: 19.98 kB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3338, allocations: 0 / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3338, allocations: 7.938 kB / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3338, allocations: 0 / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3339, allocations: 0 / 0.5646 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.334, allocations: 117 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.3341, allocations: 81.05 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3341, allocations: 15.94 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.423e-05/0.3341, allocations: 0 / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.3341, allocations: 7.984 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3341, allocations: 0 / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.327e-05/0.3342, allocations: 83.22 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3342, allocations: 0 / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.3344, allocations: 12 kB / 0.5649 GB, free: 0.8828 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.0001459/0.3345, allocations: 107.2 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.3347, allocations: 60.09 kB / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3347, allocations: 192 / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/0.3347, allocations: 31.92 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.3349, allocations: 10.34 kB / 0.5651 GB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.3352, allocations: 136.9 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3356, allocations: 0.6807 MB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.763e-05/0.3356, allocations: 15.77 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.3356, allocations: 11.44 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3356, allocations: 0 / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Templates: time 0.003059/0.3387, allocations: 0.6731 MB / 0.5666 GB, free: 15.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.121505403891206]