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.001741/0.001741, allocations: 110.4 kB / 21.17 MB, free: 0.7695 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.002062/0.002062, allocations: 212.8 kB / 24.46 MB, free: 4.359 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.452/1.452, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.22/0.22, allocations: 46.89 MB / 361.1 MB, free: 4.664 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.0024/0.0024, allocations: 76.16 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2724, 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.001565/0.274, allocations: 0.5368 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004287/0.2744, allocations: 163.4 kB / 0.5619 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.2744, allocations: 0 / 0.5619 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.2744, allocations: 0 / 0.5619 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.2747, allocations: 39.81 kB / 0.5619 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.456e-06/0.2747, allocations: 0 / 0.5619 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.058e-05/0.2747, allocations: 23.92 kB / 0.5619 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.2748, allocations: 4 kB / 0.5619 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.2748, allocations: 7.938 kB / 0.5619 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.2749, allocations: 19.86 kB / 0.562 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.2749, allocations: 0 / 0.562 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.275, allocations: 51.94 kB / 0.562 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.275, allocations: 11.92 kB / 0.562 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.275, allocations: 7.938 kB / 0.562 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2751, allocations: 50.48 kB / 0.5621 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2751, allocations: 0 / 0.5621 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2751, allocations: 0 / 0.5621 GB, free: 4.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2751, 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.0003671/0.2755, allocations: 343.3 kB / 0.5624 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.2755, allocations: 8.031 kB / 0.5624 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.2756, allocations: 0.9375 kB / 0.5624 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2757, allocations: 176.3 kB / 0.5626 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2757, allocations: 4.375 kB / 0.5626 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.2757, allocations: 4.375 kB / 0.5626 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.2758, allocations: 54.25 kB / 0.5626 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2759, allocations: 192 / 0.5626 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2759, allocations: 3.938 kB / 0.5626 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2759, allocations: 3.938 kB / 0.5626 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.276, allocations: 59.89 kB / 0.5627 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.2762, allocations: 173.6 kB / 0.5629 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.2764, allocations: 74.55 kB / 0.5629 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.2764, allocations: 24.86 kB / 0.563 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.2768, allocations: 255.6 kB / 0.5632 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.2768, allocations: 34.5 kB / 0.5632 GB, free: 2.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.2768, allocations: 0 / 0.5632 GB, free: 2.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002399/0.277, allocations: 109.5 kB / 0.5633 GB, free: 2.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.2771, allocations: 55.41 kB / 0.5634 GB, free: 2.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.061e-05/0.2771, allocations: 93.86 kB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.2772, allocations: 26.08 kB / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.2772, allocations: 80.14 kB / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.2772, allocations: 39.67 kB / 0.5636 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.2773, allocations: 21.72 kB / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2774, allocations: 326.9 kB / 0.564 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.2775, allocations: 16 kB / 0.564 GB, free: 1.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.041e-05/0.2775, allocations: 15.98 kB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.2776, allocations: 56.8 kB / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2776, allocations: 0 / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001377/0.2778, allocations: 89.56 kB / 0.5641 GB, free: 1.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2778, allocations: 4 kB / 0.5641 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2778, allocations: 3.938 kB / 0.5641 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2778, allocations: 4 kB / 0.5641 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.2779, allocations: 12 kB / 0.5641 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2779, allocations: 4 kB / 0.5642 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/0.2779, allocations: 7.938 kB / 0.5642 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.2779, allocations: 7.984 kB / 0.5642 GB, free: 1.715 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.135e-05/0.278, allocations: 117.8 kB / 0.5643 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.278, allocations: 3.953 kB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.2782, allocations: 109.8 kB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.2782, allocations: 0 / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.2782, allocations: 0 / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2782, allocations: 4.094 kB / 0.5644 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.2784, allocations: 173.6 kB / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2784, allocations: 0 / 0.5646 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.095e-05/0.2785, allocations: 19.88 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2785, allocations: 0 / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2785, allocations: 7.938 kB / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2785, allocations: 0 / 0.5646 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2785, allocations: 3.984 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.2786, allocations: 113 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.2787, allocations: 85.05 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.2787, allocations: 3.938 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.2787, allocations: 8 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.2787, allocations: 3.984 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.2788, allocations: 4 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.702e-05/0.2788, allocations: 75.28 kB / 0.5649 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2788, allocations: 0 / 0.5649 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.279, allocations: 16 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.0001312/0.2791, allocations: 111.3 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.2793, allocations: 51.92 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2793, allocations: 0 / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.849e-05/0.2793, allocations: 27.92 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.2795, allocations: 8 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.2798, allocations: 141.4 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.2801, allocations: 0.6846 MB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.226e-05/0.2802, allocations: 11.78 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.2802, allocations: 11.44 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2802, allocations: 0 / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of Templates: time 0.002953/0.2832, allocations: 0.669 MB / 0.5666 GB, free: 15.11 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 gbode -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: 4.704545788932592]