Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.001525/0.001525, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002305/0.00383, 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.0008708/0.0008708, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002046, 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 0.8553/0.8553, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.155/1.01, 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.1378/0.1378, allocations: 32.36 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02784/0.1657, allocations: 12.31 MB / 266.1 MB, free: 3.871 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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 3.938 kB / 267.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.906e-05, allocations: 6.25 kB / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001155/0.001174, allocations: 0.548 MB / 267.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.002627, allocations: 1.446 MB / 269.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.002648, allocations: 11.94 kB / 269.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.466e-06/0.002651, allocations: 0 / 269.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/0.00271, allocations: 4 kB / 269.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007525/0.003462, allocations: 238.9 kB / 269.6 MB, free: 336 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.632e-05/0.003519, allocations: 7.938 kB / 269.6 MB, free: 328 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.003551, allocations: 0 / 269.6 MB, free: 328 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.003594, allocations: 7.984 kB / 269.6 MB, free: 320 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.003634, allocations: 8 kB / 269.6 MB, free: 312 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.146e-06/0.003642, allocations: 0 / 269.6 MB, free: 312 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.005759, allocations: 0.9913 MB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.005769, allocations: 7.938 kB / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.117e-05/0.00578, allocations: 0 / 270.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.006004, allocations: 191.5 kB / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.006014, allocations: 0 / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006015, allocations: 0 / 270.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.006023, allocations: 0 / 270.8 MB, free: 15.11 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.0002969/0.006319, allocations: 290.1 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.006349, allocations: 8.031 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.006375, allocations: 0.9375 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.108e-05/0.006456, allocations: 121.6 kB / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.006465, allocations: 4.375 kB / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.006475, allocations: 4.375 kB / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.194e-05/0.006537, allocations: 59.91 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.006544, allocations: 192 / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.006551, allocations: 4.125 kB / 271.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.006557, allocations: 0 / 271.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.49e-05/0.006571, allocations: 33.69 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.994e-05/0.006631, allocations: 57 kB / 271.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.918e-05/0.006671, allocations: 44.31 kB / 271.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.006686, allocations: 34.62 kB / 271.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-06/0.006689, allocations: 7.938 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.006717, allocations: 60.27 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.006718, allocations: 0 / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001173/0.006835, allocations: 118.8 kB / 271.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.006892, allocations: 154.2 kB / 271.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/0.00695, allocations: 106.6 kB / 271.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.00696, allocations: 25.7 kB / 271.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.2e-05/0.006982, allocations: 80.14 kB / 272 MB, free: 13.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.007001, allocations: 4 kB / 272 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.007026, allocations: 21.95 kB / 272 MB, free: 13.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.007101, allocations: 314.8 kB / 272.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.007114, allocations: 29.64 kB / 272.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.007128, allocations: 25.7 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.007165, allocations: 64.25 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007167, allocations: 0 / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.702e-05/0.007214, allocations: 85.11 kB / 272.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.007249, allocations: 37.69 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.007254, allocations: 0 / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.007267, allocations: 4.094 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.007268, allocations: 4 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.007271, allocations: 0 / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.007284, allocations: 3.938 kB / 272.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.00729, allocations: 0 / 272.6 MB, free: 13.06 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 9.513e-05/0.007385, allocations: 139.5 kB / 272.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.007393, allocations: 0 / 272.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.177e-05/0.007405, allocations: 7.094 kB / 272.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007407, allocations: 4 kB / 272.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.007411, allocations: 3.984 kB / 272.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.007416, allocations: 3.938 kB / 272.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.092e-05/0.007467, allocations: 61.91 kB / 272.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007468, allocations: 0 / 272.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.007468, allocations: 4 kB / 272.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.007474, allocations: 0 / 272.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.007476, allocations: 0 / 272.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.00748, allocations: 0 / 272.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.00748, allocations: 0 / 272.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007481, allocations: 0 / 272.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.91e-05/0.00756, allocations: 120.5 kB / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.007572, allocations: 0 / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-06/0.007578, allocations: 4.031 kB / 272.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.00759, allocations: 11.92 kB / 272.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.007593, allocations: 0 / 272.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.044e-05/0.007603, allocations: 8.859 kB / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007603, allocations: 0 / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002023/0.007806, allocations: 59.86 kB / 273 MB, free: 12.58 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.0007129/0.008519, allocations: 449.5 kB / 273.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.597e-05/0.008605, allocations: 119.6 kB / 273.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.008608, allocations: 0 / 273.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.008636, allocations: 89.95 kB / 273.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.784e-05/0.008694, allocations: 11.98 kB / 273.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001542/0.008848, allocations: 122.6 kB / 273.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.524e-05/0.008873, allocations: 51.36 kB / 273.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.55e-06/0.008879, allocations: 0 / 273.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.008914, allocations: 55.38 kB / 273.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008915, allocations: 0 / 273.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of Templates: time 0.003137/0.01205, allocations: 1.883 MB / 275.8 MB, free: 9.695 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.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.975425154902041]