Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001987/0.001987, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002497/0.002497, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2314/0.2314, allocations: 46.93 MB / 360.8 MB, free: 4.25 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 63.91 kB / 0.4966 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.328, allocations: 66.03 MB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001617/0.3297, allocations: 0.506 MB / 0.5616 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3317, allocations: 1.416 MB / 0.563 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.3318, allocations: 0 / 0.563 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.3318, allocations: 3.938 kB / 0.563 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.438e-05/0.3318, allocations: 0 / 0.563 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/0.3325, allocations: 215.8 kB / 0.5632 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.142e-05/0.3326, allocations: 7.938 kB / 0.5632 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.3326, allocations: 0 / 0.5632 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.3326, allocations: 8 kB / 0.5632 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.3327, allocations: 3.984 kB / 0.5632 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.3327, allocations: 0 / 0.5632 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.3332, allocations: 279.6 kB / 0.5635 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.3332, allocations: 0 / 0.5635 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.3332, allocations: 7.922 kB / 0.5635 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.3335, allocations: 139.4 kB / 0.5636 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3335, allocations: 4 kB / 0.5636 GB, free: 1.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3335, allocations: 0 / 0.5636 GB, free: 1.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3335, allocations: 0 / 0.5636 GB, free: 1.805 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003739/0.3339, allocations: 264.8 kB / 0.5639 GB, free: 1.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3339, allocations: 8.031 kB / 0.5639 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.3339, allocations: 4.938 kB / 0.5639 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.3341, allocations: 106.5 kB / 0.564 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3341, allocations: 4.375 kB / 0.564 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.3341, allocations: 4.312 kB / 0.564 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.3342, allocations: 38 kB / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.3342, allocations: 0 / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3342, allocations: 3.938 kB / 0.564 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3342, allocations: 0 / 0.564 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.023e-05/0.3342, allocations: 4 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.3344, allocations: 124.8 kB / 0.5642 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.152e-05/0.3344, allocations: 22.55 kB / 0.5642 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.3345, allocations: 8.844 kB / 0.5642 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-06/0.3345, allocations: 0 / 0.5642 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3345, allocations: 38.56 kB / 0.5642 GB, free: 1.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3345, allocations: 0 / 0.5642 GB, free: 1.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.3346, allocations: 29.83 kB / 0.5643 GB, free: 1.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3347, allocations: 63.34 kB / 0.5643 GB, free: 0.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.3348, allocations: 93.86 kB / 0.5644 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3348, allocations: 29.69 kB / 0.5644 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.3348, allocations: 80.14 kB / 0.5645 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.3348, allocations: 7.953 kB / 0.5645 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.3349, allocations: 9.719 kB / 0.5645 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3351, allocations: 314.8 kB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.3351, allocations: 8.125 kB / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.3351, allocations: 0 / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.3351, allocations: 8.859 kB / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3351, allocations: 0 / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.88e-05/0.3352, allocations: 41.62 kB / 0.5649 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3352, allocations: 10.59 kB / 0.5649 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3352, allocations: 0 / 0.5649 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3352, allocations: 3.984 kB / 0.5649 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.3353, allocations: 8.094 kB / 0.5649 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3353, allocations: 0 / 0.5649 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.232e-05/0.3353, allocations: 0 / 0.5649 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3353, allocations: 0 / 0.5649 GB, free: 320 kB / 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 (1): * Single equations (assignments): 1 * 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.2e-05/0.3354, allocations: 113.8 kB / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.3354, allocations: 7.938 kB / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.3356, allocations: 48.84 kB / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3356, allocations: 0 / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3356, allocations: 0 / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3356, allocations: 0 / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.3357, allocations: 124.8 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3357, allocations: 3.938 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3357, allocations: 0 / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3357, allocations: 7.875 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.3357, allocations: 3.938 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3358, allocations: 4 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3358, allocations: 0 / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.385e-05/0.3358, allocations: 65.16 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.3359, allocations: 3.938 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.3359, allocations: 0 / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.3359, allocations: 4 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.336, allocations: 0 / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.336, allocations: 3.984 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.255e-05/0.336, allocations: 83.31 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.336, allocations: 0 / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.3363, allocations: 35.94 kB / 0.5654 GB, free: 15.73 MB / 414.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002997/0.3366, allocations: 139.2 kB / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.3367, allocations: 11.94 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3367, allocations: 0 / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.811e-05/0.3367, allocations: 29.7 kB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.3369, allocations: 224 / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.3371, allocations: 92.98 kB / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3375, allocations: 0.669 MB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.527e-05/0.3375, allocations: 0 / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.3375, allocations: 11.44 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3375, allocations: 0 / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Templates: time 0.003946/0.3415, allocations: 1.076 MB / 0.5674 GB, free: 13.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.329194425838068]