Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001212/0.001212, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006931/0.006931, allocations: 162 kB / 24.7 MB, free: 9.43 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 0.8725/0.8725, allocations: 177.1 MB / 205 MB, free: 5.727 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.2149/0.2149, allocations: 32.79 MB / 294.2 MB, free: 1.207 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.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 440.8 MB, free: 3.785 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.56e-05, allocations: 3.688 kB / 440.8 MB, free: 3.781 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001431/0.001456, allocations: 0.5307 MB / 441.4 MB, free: 3.254 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003852/0.001842, allocations: 143.5 kB / 441.5 MB, free: 3.113 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.001873, allocations: 0 / 441.5 MB, free: 3.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.001892, allocations: 3.938 kB / 441.5 MB, free: 3.109 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.002172, allocations: 39.77 kB / 441.5 MB, free: 3.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.619e-06/0.002176, allocations: 4 kB / 441.5 MB, free: 3.066 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.002247, allocations: 27.86 kB / 441.6 MB, free: 3.039 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.002294, allocations: 0 / 441.6 MB, free: 3.039 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.551e-05/0.00233, allocations: 11.92 kB / 441.6 MB, free: 3.027 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.002397, allocations: 11.98 kB / 441.6 MB, free: 3.016 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.002411, allocations: 0 / 441.6 MB, free: 3.016 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.002523, allocations: 47.94 kB / 441.6 MB, free: 2.969 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.002537, allocations: 7.938 kB / 441.7 MB, free: 2.961 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.002554, allocations: 7.922 kB / 441.7 MB, free: 2.953 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.002682, allocations: 43.88 kB / 441.7 MB, free: 2.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002684, allocations: 0 / 441.7 MB, free: 2.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.002685, allocations: 4 kB / 441.7 MB, free: 2.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.002689, allocations: 0 / 441.7 MB, free: 2.906 MB / 410.7 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.0003087/0.002997, allocations: 270.2 kB / 442 MB, free: 2.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.003043, allocations: 16.02 kB / 442 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.00308, allocations: 0.9375 kB / 442 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.003186, allocations: 109.7 kB / 442.1 MB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.0032, allocations: 384 / 442.1 MB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.003213, allocations: 4.375 kB / 442.1 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.003354, allocations: 66.17 kB / 442.2 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.003365, allocations: 4.172 kB / 442.2 MB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.003375, allocations: 4.375 kB / 442.2 MB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.00338, allocations: 384 / 442.2 MB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.00349, allocations: 55.89 kB / 442.2 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.003646, allocations: 121.2 kB / 442.3 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.003796, allocations: 74.55 kB / 442.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.003844, allocations: 24.86 kB / 442.4 MB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.004071, allocations: 23.97 kB / 442.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.004094, allocations: 30.56 kB / 442.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.004096, allocations: 0 / 442.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002407/0.004336, allocations: 105.9 kB / 442.6 MB, free: 1.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.004379, allocations: 59.41 kB / 442.7 MB, free: 1.824 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.023e-05/0.00444, allocations: 97.73 kB / 442.8 MB, free: 1.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.004453, allocations: 25.7 kB / 442.8 MB, free: 1.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.004477, allocations: 80.14 kB / 442.9 MB, free: 1.605 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.00452, allocations: 35.69 kB / 442.9 MB, free: 1.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.00456, allocations: 25.72 kB / 442.9 MB, free: 1.539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.004654, allocations: 314.8 kB / 443.2 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.004689, allocations: 16 kB / 443.2 MB, free: 1.207 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.004724, allocations: 24.36 kB / 443.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/0.004809, allocations: 53.11 kB / 443.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.004811, allocations: 0 / 443.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000134/0.004945, allocations: 85.58 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.004961, allocations: 11.98 kB / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.004966, allocations: 0 / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.004981, allocations: 0 / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.005092, allocations: 15.94 kB / 443.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.005098, allocations: 0 / 443.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.005122, allocations: 11.88 kB / 443.4 MB, free: 1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.00513, allocations: 4 kB / 443.4 MB, free: 0.9961 MB / 410.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 (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.813e-05/0.005208, allocations: 118.5 kB / 443.6 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.005221, allocations: 8 kB / 443.6 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.005405, allocations: 101.5 kB / 443.7 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.005408, allocations: 0 / 443.7 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.005416, allocations: 4 kB / 443.7 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.005421, allocations: 3.938 kB / 443.7 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.326e-05/0.005514, allocations: 117.3 kB / 443.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.005516, allocations: 0 / 443.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.005571, allocations: 12 kB / 443.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.005574, allocations: 7.938 kB / 443.8 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.005581, allocations: 4 kB / 443.8 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.005584, allocations: 0 / 443.8 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.005585, allocations: 0 / 443.8 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.005717, allocations: 125.1 kB / 443.9 MB, free: 448 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.005725, allocations: 7.938 kB / 443.9 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.005737, allocations: 0 / 443.9 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.005755, allocations: 0 / 443.9 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.005783, allocations: 11.98 kB / 443.9 MB, free: 428 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.005787, allocations: 0 / 443.9 MB, free: 428 kB / 410.7 MB Notification: Performance of sorting global known variables: time 2.585e-05/0.005813, allocations: 83.22 kB / 444 MB, free: 344 kB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005813, allocations: 0 / 444 MB, free: 344 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.006025, allocations: 24.03 kB / 444.1 MB, free: 320 kB / 410.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 (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.0001471/0.006172, allocations: 111.2 kB / 444.2 MB, free: 196 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.006305, allocations: 51.92 kB / 444.2 MB, free: 144 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006307, allocations: 0 / 444.2 MB, free: 144 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.006344, allocations: 23.98 kB / 444.2 MB, free: 120 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.006501, allocations: 14.86 kB / 444.3 MB, free: 108 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1632/0.1697, allocations: 155.8 kB / 444.4 MB, free: 46.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.1698, allocations: 70.02 kB / 444.5 MB, free: 46.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.1698, allocations: 11.03 kB / 444.5 MB, free: 46.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1698, allocations: 0 / 444.5 MB, free: 46.28 MB / 410.7 MB Notification: Performance of Templates: time 0.00159/0.1714, allocations: 0.8365 MB / 445.3 MB, free: 46.26 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.6360771004110575]