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.001554/0.001554, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001695/0.001695, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.953 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.218/0.218, allocations: 46.95 MB / 361.6 MB, free: 4.207 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.002055/0.002055, allocations: 59.91 kB / 0.4974 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3028, allocations: 66.02 MB / 0.5619 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001712/0.3045, allocations: 0.5381 MB / 0.5624 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004549/0.305, allocations: 167.5 kB / 0.5625 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.305, allocations: 0 / 0.5625 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.305, allocations: 0 / 0.5625 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.3053, allocations: 39.72 kB / 0.5626 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.148e-06/0.3053, allocations: 0 / 0.5626 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.685e-05/0.3054, allocations: 19.98 kB / 0.5626 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.3054, allocations: 7.984 kB / 0.5626 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.675e-05/0.3054, allocations: 15.88 kB / 0.5626 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.3055, allocations: 15.91 kB / 0.5626 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3055, allocations: 0 / 0.5626 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.3056, allocations: 47.95 kB / 0.5627 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.3057, allocations: 3.984 kB / 0.5627 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.3057, allocations: 15.88 kB / 0.5627 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.3058, allocations: 43.53 kB / 0.5627 GB, free: 3.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3058, allocations: 7.938 kB / 0.5627 GB, free: 3.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3058, allocations: 0 / 0.5627 GB, free: 3.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3058, allocations: 0 / 0.5627 GB, free: 3.449 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.0003419/0.3061, allocations: 272.8 kB / 0.563 GB, free: 3.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3062, allocations: 8.031 kB / 0.563 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.3062, allocations: 4.938 kB / 0.563 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3063, allocations: 102.5 kB / 0.5631 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3064, allocations: 4.375 kB / 0.5631 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.3064, allocations: 4.375 kB / 0.5631 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.3065, allocations: 66.17 kB / 0.5632 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3065, allocations: 192 / 0.5632 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3065, allocations: 3.938 kB / 0.5632 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3065, allocations: 4 kB / 0.5632 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.3066, allocations: 51.95 kB / 0.5632 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.3069, allocations: 148.7 kB / 0.5634 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.307, allocations: 74.59 kB / 0.5635 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.3071, allocations: 28.84 kB / 0.5635 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.3073, allocations: 23.98 kB / 0.5635 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3073, allocations: 34.55 kB / 0.5635 GB, free: 2.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.3073, allocations: 0 / 0.5635 GB, free: 2.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002523/0.3076, allocations: 101.8 kB / 0.5636 GB, free: 2.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3076, allocations: 51.41 kB / 0.5637 GB, free: 2.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.873e-05/0.3077, allocations: 101.8 kB / 0.5638 GB, free: 2.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3077, allocations: 29.7 kB / 0.5638 GB, free: 2.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.3078, allocations: 84.12 kB / 0.5639 GB, free: 2.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.3078, allocations: 31.7 kB / 0.5639 GB, free: 2.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.3079, allocations: 25.7 kB / 0.564 GB, free: 2.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.308, allocations: 315.2 kB / 0.5643 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.673e-05/0.308, allocations: 19.98 kB / 0.5643 GB, free: 1.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/0.3081, allocations: 23.86 kB / 0.5643 GB, free: 1.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.413e-05/0.3082, allocations: 52.98 kB / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3082, allocations: 4 kB / 0.5643 GB, free: 1.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001244/0.3083, allocations: 89.52 kB / 0.5644 GB, free: 1.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3083, allocations: 4 kB / 0.5644 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3083, allocations: 3.938 kB / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3083, allocations: 4 kB / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.3084, allocations: 15.98 kB / 0.5645 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3084, allocations: 0 / 0.5645 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.3085, allocations: 7.938 kB / 0.5645 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3085, allocations: 4 kB / 0.5645 GB, free: 1.5 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.848e-05/0.3086, allocations: 117.8 kB / 0.5646 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.3086, allocations: 7.953 kB / 0.5646 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.3088, allocations: 101.5 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3088, allocations: 4 kB / 0.5647 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3088, allocations: 0 / 0.5647 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3088, allocations: 3.938 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.3089, allocations: 137.1 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3089, allocations: 0 / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.309, allocations: 15.98 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.309, allocations: 4 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.309, allocations: 11.88 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.309, allocations: 0 / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.309, allocations: 0 / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.3092, allocations: 117 kB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.3092, allocations: 3.938 kB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3092, allocations: 7.938 kB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.3092, allocations: 4 kB / 0.565 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.3092, allocations: 7.984 kB / 0.565 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3093, allocations: 4 kB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.3093, allocations: 75.28 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3093, allocations: 0 / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001935/0.3095, allocations: 16 kB / 0.5651 GB, free: 0.793 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.0001464/0.3096, allocations: 111.2 kB / 0.5652 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.3098, allocations: 51.92 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3098, allocations: 4.094 kB / 0.5652 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.3098, allocations: 31.86 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.3099, allocations: 10.66 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.3103, allocations: 162.6 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.3106, allocations: 0.6807 MB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.3107, allocations: 11.44 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3107, allocations: 0 / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Templates: time 0.002504/0.3132, allocations: 0.8254 MB / 0.5669 GB, free: 14.85 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 -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: 7.06598553317599]