Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2175/0.2175, allocations: 46.97 MB / 361.6 MB, free: 4.039 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3066, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001676/0.3083, allocations: 0.5188 MB / 0.5623 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004203/0.3087, allocations: 151.5 kB / 0.5625 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.3087, allocations: 0 / 0.5625 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.3088, allocations: 3.938 kB / 0.5625 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.309, allocations: 35.81 kB / 0.5625 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.839e-06/0.309, allocations: 4 kB / 0.5625 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.323e-05/0.3091, allocations: 23.92 kB / 0.5625 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.3091, allocations: 3.984 kB / 0.5625 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.3091, allocations: 11.94 kB / 0.5625 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.3092, allocations: 15.92 kB / 0.5625 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.3092, allocations: 4 kB / 0.5626 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.3093, allocations: 51.94 kB / 0.5626 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.3093, allocations: 11.86 kB / 0.5626 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.3094, allocations: 7.938 kB / 0.5626 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.3095, allocations: 42.55 kB / 0.5627 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3095, allocations: 0 / 0.5627 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.592e-06/0.3095, allocations: 0 / 0.5627 GB, free: 3.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3095, allocations: 3.938 kB / 0.5627 GB, free: 3.301 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.0003134/0.3098, allocations: 265.9 kB / 0.5629 GB, free: 3.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.3098, allocations: 16.03 kB / 0.5629 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.3099, allocations: 0.9375 kB / 0.5629 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.31, allocations: 114.5 kB / 0.563 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.31, allocations: 4.312 kB / 0.563 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.31, allocations: 4.375 kB / 0.5631 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3102, allocations: 54.25 kB / 0.5631 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3102, allocations: 192 / 0.5631 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3102, allocations: 7.938 kB / 0.5631 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3102, allocations: 0 / 0.5631 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.3103, allocations: 55.94 kB / 0.5632 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.3104, allocations: 117.2 kB / 0.5633 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.3106, allocations: 74.56 kB / 0.5633 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.3106, allocations: 28.84 kB / 0.5634 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.3109, allocations: 23.97 kB / 0.5634 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3109, allocations: 30.56 kB / 0.5634 GB, free: 2.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3109, allocations: 0 / 0.5634 GB, free: 2.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002326/0.3111, allocations: 105.8 kB / 0.5635 GB, free: 2.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.3112, allocations: 55.41 kB / 0.5636 GB, free: 2.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.3112, allocations: 97.86 kB / 0.5637 GB, free: 2.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3113, allocations: 25.7 kB / 0.5637 GB, free: 2.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.3113, allocations: 84.08 kB / 0.5638 GB, free: 2.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.3113, allocations: 39.62 kB / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.3114, allocations: 22.09 kB / 0.5638 GB, free: 1.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3115, allocations: 318.8 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.389e-05/0.3116, allocations: 16 kB / 0.5642 GB, free: 1.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.3116, allocations: 23.92 kB / 0.5642 GB, free: 1.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.359e-05/0.3117, allocations: 48.86 kB / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3117, allocations: 0 / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001316/0.3118, allocations: 85.7 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3118, allocations: 12 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3118, allocations: 3.984 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.3118, allocations: 3.938 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.3119, allocations: 15.94 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3119, allocations: 0 / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.312, allocations: 7.938 kB / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.312, allocations: 0 / 0.5644 GB, free: 1.402 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 7.988e-05/0.3121, allocations: 113.8 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.3121, allocations: 11.94 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.3123, allocations: 105.5 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3123, allocations: 3.938 kB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3123, allocations: 4 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3123, allocations: 384 / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.3124, allocations: 113.3 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3124, allocations: 3.984 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.3125, allocations: 12 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3125, allocations: 7.938 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.3125, allocations: 0 / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3125, allocations: 0 / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3125, allocations: 7.922 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.3127, allocations: 121 kB / 0.5648 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-06/0.3127, allocations: 7.938 kB / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.3127, allocations: 0 / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.45e-05/0.3127, allocations: 0 / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.3127, allocations: 15.92 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3127, allocations: 3.984 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.096e-05/0.3128, allocations: 83.22 kB / 0.5649 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3128, allocations: 0 / 0.5649 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.313, allocations: 19.94 kB / 0.565 GB, free: 0.7109 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.0001336/0.3131, allocations: 107.3 kB / 0.5651 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.3132, allocations: 51.92 kB / 0.5651 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3133, allocations: 0 / 0.5651 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.3133, allocations: 27.98 kB / 0.5651 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.3134, allocations: 7.938 kB / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.3137, allocations: 140.9 kB / 0.5653 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.894e-05/0.3138, allocations: 63.34 kB / 0.5653 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.411e-05/0.3139, allocations: 11.78 kB / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.3139, allocations: 11.91 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3139, allocations: 0 / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of Templates: time 0.002896/0.3168, allocations: 0.6673 MB / 0.566 GB, free: 15.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.705278806999559]