Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.001295/0.001295, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001347/0.001347, allocations: 219.4 kB / 23.76 MB, free: 4.723 MB / 14.72 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.313/1.313, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 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.207/0.207, allocations: 44.23 MB / 331 MB, free: 9.523 MB / 270.1 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.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 83.81 kB / 468.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1093, allocations: 61.03 MB / 0.5173 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001711/0.111, allocations: 0.4978 MB / 0.5178 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003163/0.1141, allocations: 2.084 MB / 0.5199 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.1142, allocations: 0 / 0.5199 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.1142, allocations: 0 / 0.5199 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.809e-05/0.1142, allocations: 0 / 0.5199 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1153, allocations: 382.7 kB / 0.5202 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.423e-05/0.1154, allocations: 8 kB / 0.5202 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.235e-05/0.1154, allocations: 0 / 0.5202 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.617e-05/0.1154, allocations: 4 kB / 0.5202 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02163/0.1371, allocations: 3.382 MB / 0.5235 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1371, allocations: 0 / 0.5235 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.135e-05/0.1372, allocations: 4 kB / 0.5235 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.1372, allocations: 4 kB / 0.5236 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.1372, allocations: 0 / 0.5236 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.1373, allocations: 11.98 kB / 0.5236 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1373, allocations: 4 kB / 0.5236 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1373, allocations: 0 / 0.5236 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1373, allocations: 0 / 0.5236 GB, free: 0.5234 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002758/0.1376, allocations: 238.4 kB / 0.5238 GB, free: 268 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1376, allocations: 8.031 kB / 0.5238 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.1378, allocations: 88.2 kB / 0.5239 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1379, allocations: 177.8 kB / 0.5241 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.138, allocations: 154.9 kB / 0.5242 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.1381, allocations: 158.7 kB / 0.5244 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.537e-05/0.1381, allocations: 104.9 kB / 0.5245 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/0.1382, allocations: 79.27 kB / 0.5245 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.1383, allocations: 154.6 kB / 0.5247 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.744e-05/0.1383, allocations: 154.6 kB / 0.5248 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.39e-05/0.1384, allocations: 150.6 kB / 0.525 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.1387, allocations: 417 kB / 0.5254 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.601e-05/0.1388, allocations: 173.1 kB / 0.5255 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.1388, allocations: 92.02 kB / 0.5256 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1388, allocations: 75.28 kB / 0.5257 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.069e-05/0.1389, allocations: 105.8 kB / 0.5258 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1389, allocations: 4 kB / 0.5258 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.48e-05/0.139, allocations: 25.7 kB / 0.5258 GB, free: 14.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.892e-05/0.1391, allocations: 186 kB / 0.526 GB, free: 13.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.1392, allocations: 97.86 kB / 0.5261 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1392, allocations: 29.7 kB / 0.5261 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.1392, allocations: 84.12 kB / 0.5262 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/0.1392, allocations: 0 / 0.5262 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.1393, allocations: 9.719 kB / 0.5262 GB, free: 13.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1394, allocations: 314.8 kB / 0.5265 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-06/0.1394, allocations: 0 / 0.5265 GB, free: 13.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.1394, allocations: 13.84 kB / 0.5265 GB, free: 13.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.1395, allocations: 75.28 kB / 0.5266 GB, free: 13.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.804e-05/0.1395, allocations: 75.28 kB / 0.5267 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.005e-05/0.1395, allocations: 45.56 kB / 0.5267 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.1396, allocations: 79.28 kB / 0.5268 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-05/0.1396, allocations: 83.22 kB / 0.5269 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.678e-05/0.1397, allocations: 150.6 kB / 0.527 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.034e-05/0.1397, allocations: 83.25 kB / 0.5271 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.653e-05/0.1398, allocations: 150.6 kB / 0.5272 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.795e-05/0.1399, allocations: 83.33 kB / 0.5273 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.1399, allocations: 79.22 kB / 0.5274 GB, free: 12.39 MB / 414.1 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 (0): * Single equations (assignments): 0 * 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 0.0001394/0.1401, allocations: 268.4 kB / 0.5276 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.1401, allocations: 104.9 kB / 0.5277 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.1402, allocations: 111.9 kB / 0.5279 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.168e-05/0.1403, allocations: 180.3 kB / 0.528 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.629e-05/0.1403, allocations: 176.3 kB / 0.5282 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.024e-05/0.1404, allocations: 192.2 kB / 0.5284 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.1407, allocations: 372.2 kB / 0.5287 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-05/0.1407, allocations: 108.9 kB / 0.5288 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.1408, allocations: 101 kB / 0.5289 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.619e-05/0.1408, allocations: 180.5 kB / 0.5291 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/0.1409, allocations: 188.2 kB / 0.5293 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.827e-05/0.141, allocations: 180.3 kB / 0.5295 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.631e-05/0.1411, allocations: 184.1 kB / 0.5296 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.1412, allocations: 315.7 kB / 0.5299 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.1413, allocations: 112.9 kB / 0.53 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.711e-05/0.1414, allocations: 180.3 kB / 0.5302 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.1415, allocations: 104.9 kB / 0.5303 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.1416, allocations: 184.2 kB / 0.5305 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.1416, allocations: 108.9 kB / 0.5306 GB, free: 8.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.84e-05/0.1417, allocations: 79.28 kB / 0.5307 GB, free: 8.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1417, allocations: 0 / 0.5307 GB, free: 8.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1419, allocations: 4 kB / 0.5307 GB, free: 8.832 MB / 414.1 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 (0): * Single equations (assignments): 0 * 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.0001111/0.1421, allocations: 162.5 kB / 0.5308 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.32e-05/0.1421, allocations: 8.094 kB / 0.5308 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1421, allocations: 0 / 0.5308 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.1421, allocations: 0 / 0.5308 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.1425, allocations: 463.5 kB / 0.5313 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.1427, allocations: 185.8 kB / 0.5314 GB, free: 7.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.143, allocations: 0.669 MB / 0.5321 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.143, allocations: 11.44 kB / 0.5321 GB, free: 7.273 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.143, allocations: 0 / 0.5321 GB, free: 7.273 MB / 414.1 MB Notification: Performance of Templates: time 0.001772/0.1448, allocations: 371.7 kB / 0.5325 GB, free: 6.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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: 6.410849594976753]