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.001691/0.001691, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002222/0.002222, allocations: 217.2 kB / 22.99 MB, free: 4.977 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.685/1.685, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.2362/0.2362, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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: 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.00236/0.00236, allocations: 65 kB / 468 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1273, allocations: 61.05 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.002763/0.1301, allocations: 498.6 kB / 0.5171 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.1328, allocations: 1.357 MB / 0.5184 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.1329, allocations: 0 / 0.5184 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.1329, allocations: 0 / 0.5184 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.1331, allocations: 7.938 kB / 0.5184 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1346, allocations: 267.2 kB / 0.5187 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.932e-05/0.1346, allocations: 4 kB / 0.5187 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.1347, allocations: 0 / 0.5187 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.1347, allocations: 0 / 0.5187 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.1347, allocations: 15.98 kB / 0.5187 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.226e-06/0.1348, allocations: 0 / 0.5187 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004319/0.1391, allocations: 0.7104 MB / 0.5194 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.1391, allocations: 4 kB / 0.5194 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.1391, allocations: 11.94 kB / 0.5194 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.1395, allocations: 183.5 kB / 0.5196 GB, free: 3.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1395, allocations: 0 / 0.5196 GB, free: 3.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1395, allocations: 0 / 0.5196 GB, free: 3.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1395, allocations: 0 / 0.5196 GB, free: 3.707 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004636/0.14, allocations: 299.8 kB / 0.5199 GB, free: 3.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.14, allocations: 12.03 kB / 0.5199 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.14, allocations: 4.938 kB / 0.5199 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1402, allocations: 110.5 kB / 0.52 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1402, allocations: 384 / 0.52 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1402, allocations: 8.375 kB / 0.52 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1403, allocations: 59.47 kB / 0.5201 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1403, allocations: 7.938 kB / 0.5201 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1403, allocations: 0 / 0.5201 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1403, allocations: 0 / 0.5201 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.1403, allocations: 25.7 kB / 0.5201 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.1405, allocations: 105.3 kB / 0.5202 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.542e-05/0.1406, allocations: 44.31 kB / 0.5202 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.1406, allocations: 34.5 kB / 0.5203 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-06/0.1406, allocations: 0 / 0.5203 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.949e-05/0.1407, allocations: 68.27 kB / 0.5203 GB, free: 2.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.1407, allocations: 0 / 0.5203 GB, free: 2.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002354/0.1409, allocations: 122.7 kB / 0.5205 GB, free: 2.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.141, allocations: 77.11 kB / 0.5205 GB, free: 2.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.796e-05/0.1411, allocations: 93.86 kB / 0.5206 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1411, allocations: 25.7 kB / 0.5206 GB, free: 2.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.1412, allocations: 84.14 kB / 0.5207 GB, free: 2.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1412, allocations: 7.953 kB / 0.5207 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.1412, allocations: 13.7 kB / 0.5207 GB, free: 2.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1414, allocations: 311.1 kB / 0.521 GB, free: 2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.854e-05/0.1414, allocations: 33.7 kB / 0.5211 GB, free: 1.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.1414, allocations: 25.7 kB / 0.5211 GB, free: 1.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/0.1415, allocations: 68.2 kB / 0.5212 GB, free: 1.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1415, allocations: 0 / 0.5212 GB, free: 1.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.112e-05/0.1416, allocations: 89.09 kB / 0.5212 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.1416, allocations: 37.64 kB / 0.5213 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1416, allocations: 0 / 0.5213 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1416, allocations: 0 / 0.5213 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.1416, allocations: 0 / 0.5213 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1417, allocations: 4.094 kB / 0.5213 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.1417, allocations: 4 kB / 0.5213 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1417, allocations: 4 kB / 0.5213 GB, free: 1.688 MB / 398.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: 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 0.0001181/0.1418, allocations: 139.5 kB / 0.5214 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.1418, allocations: 7.938 kB / 0.5214 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.233e-05/0.1418, allocations: 3.156 kB / 0.5214 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1418, allocations: 0 / 0.5214 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1418, allocations: 0 / 0.5214 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1418, allocations: 3.938 kB / 0.5214 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.742e-05/0.1419, allocations: 101.3 kB / 0.5215 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1419, allocations: 0 / 0.5215 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1419, allocations: 4 kB / 0.5215 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.1419, allocations: 0 / 0.5215 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1419, allocations: 7.922 kB / 0.5215 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1419, allocations: 0 / 0.5215 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1419, allocations: 11.88 kB / 0.5216 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1421, allocations: 124.5 kB / 0.5217 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-06/0.1421, allocations: 0 / 0.5217 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1421, allocations: 7.938 kB / 0.5217 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.331e-05/0.1421, allocations: 4 kB / 0.5217 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.1421, allocations: 0 / 0.5217 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.1421, allocations: 4.031 kB / 0.5217 GB, free: 1.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.862e-05/0.1422, allocations: 79.28 kB / 0.5218 GB, free: 1.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1422, allocations: 0 / 0.5218 GB, free: 1.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.1425, allocations: 59.86 kB / 0.5218 GB, free: 1.062 MB / 398.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: 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.0009051/0.1434, allocations: 341.7 kB / 0.5222 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1435, allocations: 114.8 kB / 0.5223 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1435, allocations: 0 / 0.5223 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.1436, allocations: 85.11 kB / 0.5223 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.1437, allocations: 0 / 0.5223 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.144, allocations: 122.5 kB / 0.5225 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.188e-05/0.1441, allocations: 59.3 kB / 0.5225 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.751e-06/0.1441, allocations: 0 / 0.5225 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.1441, allocations: 11.56 kB / 0.5225 GB, free: 240 kB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1441, allocations: 0 / 0.5225 GB, free: 240 kB / 398.1 MB Notification: Performance of Templates: time 0.004996/0.1491, allocations: 1.603 MB / 0.5241 GB, free: 14.63 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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: 5.363686325028539]