Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001272/0.001272, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.002723, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009492/0.0009492, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002247, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9901/0.9901, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.09, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.303/0.303, allocations: 32.81 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03407/0.3371, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 290.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.91e-05, allocations: 11.02 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001075/0.001094, allocations: 0.5469 MB / 291.1 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.00269, allocations: 1.398 MB / 292.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.00271, allocations: 0 / 292.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.809e-06/0.002715, allocations: 1.656 kB / 292.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.426e-06/0.002723, allocations: 7.938 kB / 292.5 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.00309, allocations: 165.2 kB / 292.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.003143, allocations: 8.047 kB / 292.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.003183, allocations: 6.969 kB / 292.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.343e-05/0.003236, allocations: 12.11 kB / 292.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.003293, allocations: 1.438 kB / 292.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.00331, allocations: 1.25 kB / 292.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.003749, allocations: 303.9 kB / 293 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.003761, allocations: 0 / 293 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.003777, allocations: 6.875 kB / 293 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.003984, allocations: 136.7 kB / 293.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.928e-05/0.004003, allocations: 0 / 293.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004004, allocations: 0 / 293.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.004022, allocations: 0 / 293.2 MB, free: 5.727 MB / 282.7 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.0003672/0.004389, allocations: 252.5 kB / 293.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.00443, allocations: 8.031 kB / 293.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.004458, allocations: 4.875 kB / 293.4 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/0.004548, allocations: 106.5 kB / 293.5 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.004558, allocations: 4.312 kB / 293.5 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-06/0.004566, allocations: 384 / 293.5 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.417e-05/0.00466, allocations: 59.97 kB / 293.6 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.004668, allocations: 4.172 kB / 293.6 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.004674, allocations: 384 / 293.6 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.00468, allocations: 3.938 kB / 293.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.097e-05/0.004691, allocations: 0 / 293.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.397e-05/0.004765, allocations: 61.05 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.377e-05/0.004799, allocations: 18.61 kB / 293.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.143e-05/0.00481, allocations: 8.859 kB / 293.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-06/0.004816, allocations: 0 / 293.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.004841, allocations: 30.56 kB / 293.7 MB, free: 5.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.004842, allocations: 0 / 293.7 MB, free: 5.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 8.243e-05/0.004924, allocations: 37.69 kB / 293.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.004954, allocations: 55.41 kB / 293.8 MB, free: 4.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/0.005007, allocations: 98.7 kB / 293.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.005017, allocations: 25.7 kB / 293.9 MB, free: 4.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.146e-05/0.005039, allocations: 84.14 kB / 294 MB, free: 4.746 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.005065, allocations: 7.891 kB / 294 MB, free: 4.738 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.005088, allocations: 13.72 kB / 294 MB, free: 4.719 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.005168, allocations: 322.8 kB / 294.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-06/0.005174, allocations: 0 / 294.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/0.005178, allocations: 4.25 kB / 294.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.777e-05/0.005196, allocations: 8.859 kB / 294.4 MB, free: 4.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005198, allocations: 0 / 294.4 MB, free: 4.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.061e-05/0.005228, allocations: 33.69 kB / 294.4 MB, free: 4.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.005239, allocations: 4 kB / 294.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005244, allocations: 0 / 294.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.005254, allocations: 7.984 kB / 294.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.005326, allocations: 3.938 kB / 294.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.00533, allocations: 0 / 294.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-06/0.005339, allocations: 4.031 kB / 294.4 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.005347, allocations: 4 kB / 294.4 MB, free: 4.316 MB / 282.7 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 5.247e-05/0.0054, allocations: 113.8 kB / 294.5 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.466e-06/0.005403, allocations: 3.938 kB / 294.5 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.416e-05/0.005487, allocations: 44.84 kB / 294.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.00549, allocations: 0 / 294.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005491, allocations: 0 / 294.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.005494, allocations: 4.031 kB / 294.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.082e-05/0.005544, allocations: 69.84 kB / 294.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.005548, allocations: 0 / 294.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-07/0.005549, allocations: 0 / 294.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.005555, allocations: 3.984 kB / 294.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.005556, allocations: 0 / 294.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-06/0.005559, allocations: 0 / 294.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.00556, allocations: 0 / 294.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005561, allocations: 4 kB / 294.7 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.213e-05/0.005603, allocations: 57.02 kB / 294.7 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.005612, allocations: 3.984 kB / 294.7 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.005657, allocations: 8.031 kB / 294.7 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-06/0.005667, allocations: 0 / 294.7 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.005669, allocations: 0 / 294.7 MB, free: 3.961 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.406e-06/0.005678, allocations: 8.859 kB / 294.7 MB, free: 3.949 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005678, allocations: 0 / 294.7 MB, free: 3.949 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001384/0.005816, allocations: 39.92 kB / 294.8 MB, free: 3.91 MB / 282.7 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.0001797/0.005996, allocations: 136.2 kB / 294.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.553e-05/0.006051, allocations: 12.8 kB / 294.9 MB, free: 3.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.006055, allocations: 4.156 kB / 294.9 MB, free: 3.746 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.816e-05/0.006083, allocations: 34.55 kB / 295 MB, free: 3.703 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.348e-05/0.006157, allocations: 11.94 kB / 295 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001853/0.006342, allocations: 97.23 kB / 295.1 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.038e-05/0.006372, allocations: 55.34 kB / 295.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.179e-05/0.006384, allocations: 0 / 295.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.006423, allocations: 51.38 kB / 295.2 MB, free: 3.445 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.006424, allocations: 0 / 295.2 MB, free: 3.445 MB / 282.7 MB Notification: Performance of Templates: time 0.00283/0.009254, allocations: 1.27 MB / 296.4 MB, free: 2.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1164135597646236]