Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.0009712/0.0009712, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001487/0.002458, allocations: 452 kB / 10.43 MB, free: 264 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.0007913/0.0007913, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001837, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.05/1.05, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1619/1.212, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1338/0.1338, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03348/0.1673, allocations: 12.32 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 267.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.713e-05, allocations: 2.312 kB / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001851/0.001878, allocations: 0.5478 MB / 267.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004618/0.00234, allocations: 267.1 kB / 268.2 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.002354, allocations: 0 / 268.2 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.198e-06/0.002358, allocations: 4 kB / 268.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.002359, allocations: 0 / 268.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.002545, allocations: 59.62 kB / 268.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.964e-05/0.002604, allocations: 0 / 268.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.00264, allocations: 0 / 268.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.002676, allocations: 4 kB / 268.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.858e-05/0.002715, allocations: 3.984 kB / 268.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.002727, allocations: 3.938 kB / 268.2 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.002891, allocations: 63.89 kB / 268.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.002901, allocations: 0 / 268.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.002916, allocations: 0 / 268.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.003054, allocations: 59.83 kB / 268.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.003067, allocations: 0 / 268.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003068, allocations: 0 / 268.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.003076, allocations: 0 / 268.4 MB, free: 1.578 MB / 266.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.0002815/0.003358, allocations: 278.2 kB / 268.6 MB, free: 1.273 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.003394, allocations: 12.03 kB / 268.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.00343, allocations: 0.9375 kB / 268.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.124e-05/0.003511, allocations: 101.8 kB / 268.8 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.003523, allocations: 384 / 268.8 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.003534, allocations: 4.375 kB / 268.8 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.5e-05/0.003619, allocations: 59.95 kB / 268.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003626, allocations: 192 / 268.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.003633, allocations: 4.375 kB / 268.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.003639, allocations: 384 / 268.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.003662, allocations: 33.62 kB / 268.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.613e-05/0.003738, allocations: 64.98 kB / 268.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/0.003785, allocations: 44.22 kB / 269 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.003805, allocations: 38.66 kB / 269 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-06/0.003809, allocations: 0 / 269 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.00385, allocations: 60.25 kB / 269.1 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.003851, allocations: 8 kB / 269.1 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.003979, allocations: 110.8 kB / 269.2 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.004046, allocations: 162.2 kB / 269.3 MB, free: 436 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.836e-05/0.004084, allocations: 89.86 kB / 269.4 MB, free: 336 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.004095, allocations: 25.7 kB / 269.4 MB, free: 304 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.004118, allocations: 80.14 kB / 269.5 MB, free: 220 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.004143, allocations: 3.984 kB / 269.5 MB, free: 216 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.004174, allocations: 13.72 kB / 269.5 MB, free: 196 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.004273, allocations: 314.8 kB / 269.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.004294, allocations: 33.7 kB / 269.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.459e-05/0.004309, allocations: 29.83 kB / 269.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.741e-05/0.004366, allocations: 64.25 kB / 270 MB, free: 15.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.004369, allocations: 0 / 270 MB, free: 15.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.395e-05/0.004433, allocations: 85.05 kB / 270.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.004471, allocations: 37.69 kB / 270.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.004476, allocations: 0 / 270.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.004487, allocations: 0 / 270.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.004489, allocations: 0 / 270.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.004491, allocations: 0 / 270.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.00451, allocations: 4 kB / 270.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.004521, allocations: 12.08 kB / 270.1 MB, free: 15.56 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.587e-05/0.004587, allocations: 135.5 kB / 270.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.004596, allocations: 4 kB / 270.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.925e-06/0.004604, allocations: 3 kB / 270.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.004605, allocations: 0 / 270.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.004607, allocations: 0 / 270.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.004611, allocations: 3.984 kB / 270.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.602e-05/0.004667, allocations: 69.78 kB / 270.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.004667, allocations: 0 / 270.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.004668, allocations: 0 / 270.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-06/0.004673, allocations: 4 kB / 270.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.004674, allocations: 3.938 kB / 270.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.00468, allocations: 4 kB / 270.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.004681, allocations: 0 / 270.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.004682, allocations: 0 / 270.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.516e-05/0.004767, allocations: 120.4 kB / 270.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.00478, allocations: 0 / 270.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-06/0.004788, allocations: 4 kB / 270.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-06/0.004796, allocations: 0 / 270.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.004799, allocations: 0 / 270.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.354e-06/0.004807, allocations: 8.891 kB / 270.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.004807, allocations: 0 / 270.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.004992, allocations: 27.92 kB / 270.5 MB, free: 15.12 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: 1 (result) * Number of discrete states: 1 (result) * 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: 1 * 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.000772/0.005764, allocations: 350 kB / 270.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.005882, allocations: 123.7 kB / 271 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.005888, allocations: 0 / 271 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.153e-05/0.005939, allocations: 85.97 kB / 271 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.81e-05/0.006007, allocations: 15.92 kB / 271.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001876/0.006195, allocations: 107.9 kB / 271.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.233e-05/0.006227, allocations: 55.3 kB / 271.2 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.733e-06/0.006234, allocations: 0 / 271.2 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.006285, allocations: 59.36 kB / 271.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.006286, allocations: 192 / 271.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of Templates: time 0.003182/0.009467, allocations: 0.9544 MB / 272.2 MB, free: 13.27 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.967778703197837]