Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.0009857/0.0009857, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001223/0.001223, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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.2511/0.2511, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.685e-05, allocations: 2.969 kB / 323.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001397/0.001424, allocations: 0.542 MB / 323.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.002889, allocations: 1.398 MB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.002914, allocations: 0 / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.002928, allocations: 0 / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.42e-05/0.002952, allocations: 0 / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.003423, allocations: 171.5 kB / 325.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.003471, allocations: 11.94 kB / 325.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.003509, allocations: 4 kB / 325.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.003545, allocations: 3.984 kB / 325.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.144e-05/0.003597, allocations: 4 kB / 325.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.00361, allocations: 4 kB / 325.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.004027, allocations: 304.1 kB / 325.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.004038, allocations: 4 kB / 325.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.332e-05/0.004052, allocations: 3.938 kB / 325.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.004242, allocations: 195.5 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004244, allocations: 0 / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.004245, allocations: 0 / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.004249, allocations: 0 / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002234/0.004472, allocations: 236.5 kB / 326.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.004504, allocations: 12.03 kB / 326.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.004528, allocations: 8.938 kB / 326.1 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.198e-05/0.00458, allocations: 105.8 kB / 326.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.004588, allocations: 4.375 kB / 326.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-06/0.004594, allocations: 384 / 326.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.977e-05/0.004674, allocations: 67.89 kB / 326.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.00468, allocations: 192 / 326.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.004686, allocations: 384 / 326.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.004692, allocations: 7.938 kB / 326.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.06e-05/0.004703, allocations: 0 / 326.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.00491, allocations: 150.2 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.943e-05/0.004939, allocations: 22.56 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-06/0.004949, allocations: 4.859 kB / 326.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.004956, allocations: 4 kB / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.004976, allocations: 34.56 kB / 326.5 MB, free: 6.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.004977, allocations: 0 / 326.5 MB, free: 6.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 8.52e-05/0.005062, allocations: 37.62 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.005084, allocations: 51.41 kB / 326.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.005134, allocations: 103 kB / 326.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.005145, allocations: 25.7 kB / 326.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.005178, allocations: 80.39 kB / 326.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.881e-06/0.005184, allocations: 15.95 kB / 326.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.005206, allocations: 17.7 kB / 326.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.005285, allocations: 318.8 kB / 327.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.00529, allocations: 0 / 327.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.005307, allocations: 26.45 kB / 327.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.005334, allocations: 26.56 kB / 327.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005336, allocations: 0 / 327.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.776e-05/0.005383, allocations: 45.64 kB / 327.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.005394, allocations: 4 kB / 327.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.0054, allocations: 11.92 kB / 327.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.005409, allocations: 4.031 kB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.702e-05/0.005446, allocations: 4 kB / 327.3 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.005449, allocations: 0 / 327.3 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.005465, allocations: 11.92 kB / 327.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.00547, allocations: 0 / 327.3 MB, free: 5.438 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 4.637e-05/0.005516, allocations: 109.8 kB / 327.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.00553, allocations: 0 / 327.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.962e-05/0.005609, allocations: 44.88 kB / 327.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.005612, allocations: 0 / 327.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.005616, allocations: 4 kB / 327.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005618, allocations: 3.938 kB / 327.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.881e-05/0.005687, allocations: 61.91 kB / 327.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.005691, allocations: 3.984 kB / 327.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-06/0.005693, allocations: 4 kB / 327.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005695, allocations: 4 kB / 327.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-06/0.005698, allocations: 4.031 kB / 327.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.005699, allocations: 0 / 327.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.005701, allocations: 3.938 kB / 327.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.615e-05/0.005757, allocations: 127.5 kB / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.005763, allocations: 3.984 kB / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-06/0.005769, allocations: 0 / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.31e-05/0.005802, allocations: 4 kB / 327.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.005812, allocations: 3.938 kB / 327.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.005816, allocations: 0 / 327.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.578e-06/0.005825, allocations: 8.891 kB / 327.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005825, allocations: 0 / 327.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001845/0.00601, allocations: 43.92 kB / 327.7 MB, free: 4.961 MB / 298.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.000179/0.006189, allocations: 128.3 kB / 327.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.849e-05/0.006247, allocations: 20.83 kB / 327.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.006251, allocations: 3.938 kB / 327.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.162e-05/0.006273, allocations: 34.56 kB / 327.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.904e-05/0.006372, allocations: 7.984 kB / 327.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001532/0.006525, allocations: 97.58 kB / 328 MB, free: 4.625 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.083e-05/0.006556, allocations: 59.34 kB / 328.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.006575, allocations: 0 / 328.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.00661, allocations: 51.38 kB / 328.1 MB, free: 4.496 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.006611, allocations: 0 / 328.1 MB, free: 4.496 MB / 298.7 MB Notification: Performance of Templates: time 0.002732/0.009343, allocations: 1.258 MB / 329.4 MB, free: 3.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.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: 2.9085899530909956]