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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001767/0.001767, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002262/0.002262, allocations: 213.1 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 230.2 MB / 256.8 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2195/0.2195, allocations: 46.88 MB / 359.9 MB, free: 5.012 MB / 286.1 MB [Timeout remaining time 90] 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.002293/0.002293, allocations: 83.8 kB / 0.4949 GB, free: 8.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2954, allocations: 65.99 MB / 0.5594 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001727/0.2971, allocations: 0.5317 MB / 0.5599 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004165/0.2975, allocations: 157.3 kB / 0.5601 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.2976, allocations: 3.938 kB / 0.5601 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.185e-05/0.2976, allocations: 4 kB / 0.5601 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.2978, allocations: 35.77 kB / 0.5601 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.2978, allocations: 0 / 0.5601 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.2979, allocations: 19.98 kB / 0.5601 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.2979, allocations: 8 kB / 0.5601 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.597e-05/0.298, allocations: 19.86 kB / 0.5601 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.298, allocations: 7.922 kB / 0.5602 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.298, allocations: 8 kB / 0.5602 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2981, allocations: 47.95 kB / 0.5602 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.2981, allocations: 7.984 kB / 0.5602 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.2982, allocations: 15.86 kB / 0.5602 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.2983, allocations: 39.48 kB / 0.5603 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2983, allocations: 0 / 0.5603 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2983, allocations: 4 kB / 0.5603 GB, free: 4.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.2983, allocations: 0 / 0.5603 GB, free: 4.316 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.0003648/0.2987, allocations: 346 kB / 0.5606 GB, free: 3.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2987, allocations: 12.03 kB / 0.5606 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.2987, allocations: 4.938 kB / 0.5606 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2989, allocations: 164.4 kB / 0.5608 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2989, allocations: 384 / 0.5608 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.2989, allocations: 8.375 kB / 0.5608 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.299, allocations: 62.11 kB / 0.5608 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.299, allocations: 192 / 0.5608 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2991, allocations: 7.938 kB / 0.5608 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2991, allocations: 0 / 0.5608 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.2992, allocations: 51.95 kB / 0.5609 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.2994, allocations: 173.6 kB / 0.5611 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.2995, allocations: 78.58 kB / 0.5611 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.2996, allocations: 24.84 kB / 0.5612 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003541/0.2999, allocations: 251.3 kB / 0.5614 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3, allocations: 34.56 kB / 0.5614 GB, free: 2.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3, allocations: 4 kB / 0.5614 GB, free: 2.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002508/0.3002, allocations: 105.7 kB / 0.5615 GB, free: 2.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.3003, allocations: 51.41 kB / 0.5616 GB, free: 2.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.3004, allocations: 97.84 kB / 0.5617 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3004, allocations: 29.7 kB / 0.5617 GB, free: 2.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.3004, allocations: 80.14 kB / 0.5618 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.3005, allocations: 31.7 kB / 0.5618 GB, free: 2.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.3005, allocations: 25.7 kB / 0.5618 GB, free: 2.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3007, allocations: 319 kB / 0.5621 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.3007, allocations: 15.98 kB / 0.5622 GB, free: 2.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.3007, allocations: 20.31 kB / 0.5622 GB, free: 2.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.962e-05/0.3008, allocations: 56.91 kB / 0.5622 GB, free: 2.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3008, allocations: 0 / 0.5622 GB, free: 2.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001338/0.3009, allocations: 89.58 kB / 0.5623 GB, free: 1.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.301, allocations: 4 kB / 0.5623 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.301, allocations: 3.938 kB / 0.5623 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.301, allocations: 0 / 0.5623 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3011, allocations: 27.98 kB / 0.5624 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3011, allocations: 0 / 0.5624 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.3011, allocations: 3.938 kB / 0.5624 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.3011, allocations: 4 kB / 0.5624 GB, free: 1.895 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.098e-05/0.3012, allocations: 113.8 kB / 0.5625 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.3012, allocations: 7.953 kB / 0.5625 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.3014, allocations: 101.6 kB / 0.5626 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3014, allocations: 7.938 kB / 0.5626 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3014, allocations: 7.984 kB / 0.5626 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3014, allocations: 0 / 0.5626 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.3016, allocations: 169.7 kB / 0.5627 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3016, allocations: 0 / 0.5627 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.3017, allocations: 15.98 kB / 0.5628 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3017, allocations: 3.984 kB / 0.5628 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3017, allocations: 3.938 kB / 0.5628 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3017, allocations: 4 kB / 0.5628 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3017, allocations: 0 / 0.5628 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.3018, allocations: 125.1 kB / 0.5629 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.3019, allocations: 81.05 kB / 0.563 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3019, allocations: 3.938 kB / 0.563 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.3019, allocations: 0 / 0.563 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.3019, allocations: 8 kB / 0.563 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.302, allocations: 7.984 kB / 0.563 GB, free: 1.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.623e-05/0.302, allocations: 75.28 kB / 0.5631 GB, free: 1.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.302, allocations: 0 / 0.5631 GB, free: 1.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.3022, allocations: 16 kB / 0.5631 GB, free: 1.055 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.0001447/0.3023, allocations: 111.2 kB / 0.5632 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.3025, allocations: 55.91 kB / 0.5632 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3025, allocations: 0 / 0.5632 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.3025, allocations: 23.94 kB / 0.5633 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.3027, allocations: 14.48 kB / 0.5633 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.303, allocations: 154.7 kB / 0.5634 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3034, allocations: 0.6846 MB / 0.5641 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.3034, allocations: 19.36 kB / 0.5641 GB, free: 15.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3034, allocations: 4 kB / 0.5641 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Templates: time 0.00246/0.3059, allocations: 0.821 MB / 0.5649 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/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