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.001832/0.001832, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.002408/0.002408, allocations: 210 kB / 23.74 MB, free: 4.445 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.442/1.442, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.2178/0.2178, allocations: 44.26 MB / 331.1 MB, free: 9.32 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.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.002336/0.002336, allocations: 71.05 kB / 468.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.138, allocations: 61.04 MB / 0.5174 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001814/0.1398, allocations: 0.4987 MB / 0.5178 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.1422, allocations: 1.346 MB / 0.5192 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.1423, allocations: 0 / 0.5192 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.1423, allocations: 3.938 kB / 0.5192 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1425, allocations: 7.938 kB / 0.5192 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.1439, allocations: 267.2 kB / 0.5194 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.282e-05/0.1439, allocations: 8 kB / 0.5194 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.144, allocations: 7.984 kB / 0.5194 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.144, allocations: 0 / 0.5194 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.144, allocations: 0 / 0.5194 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.437e-06/0.1441, allocations: 0 / 0.5194 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.1483, allocations: 0.7263 MB / 0.5201 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.1483, allocations: 0 / 0.5201 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.1483, allocations: 7.938 kB / 0.5202 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.1487, allocations: 167.6 kB / 0.5203 GB, free: 3.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1487, allocations: 3.938 kB / 0.5203 GB, free: 3.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1487, allocations: 0 / 0.5203 GB, free: 3.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1487, allocations: 0 / 0.5203 GB, free: 3.73 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.0004941/0.1492, allocations: 311.7 kB / 0.5206 GB, free: 3.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1493, allocations: 8.031 kB / 0.5206 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.1493, allocations: 4.938 kB / 0.5206 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1494, allocations: 114.5 kB / 0.5207 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1494, allocations: 384 / 0.5207 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1494, allocations: 384 / 0.5207 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.1496, allocations: 67.45 kB / 0.5208 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1496, allocations: 0 / 0.5208 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1496, allocations: 0 / 0.5208 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1496, allocations: 0 / 0.5208 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.1496, allocations: 29.7 kB / 0.5208 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.1497, allocations: 97.27 kB / 0.5209 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.1498, allocations: 56.3 kB / 0.521 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.1499, allocations: 30.56 kB / 0.521 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.1499, allocations: 4.062 kB / 0.521 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.558e-05/0.1499, allocations: 68.08 kB / 0.5211 GB, free: 2.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1499, allocations: 0 / 0.5211 GB, free: 2.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002368/0.1502, allocations: 126.7 kB / 0.5212 GB, free: 2.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.1502, allocations: 77.11 kB / 0.5213 GB, free: 2.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.1503, allocations: 93.86 kB / 0.5214 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1503, allocations: 25.95 kB / 0.5214 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.1504, allocations: 84.14 kB / 0.5215 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.1504, allocations: 7.953 kB / 0.5215 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1504, allocations: 13.72 kB / 0.5215 GB, free: 2.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1506, allocations: 314.8 kB / 0.5218 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.1506, allocations: 25.7 kB / 0.5218 GB, free: 1.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.1507, allocations: 33.64 kB / 0.5218 GB, free: 1.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.1507, allocations: 64.27 kB / 0.5219 GB, free: 1.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1507, allocations: 0 / 0.5219 GB, free: 1.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001028/0.1508, allocations: 89.09 kB / 0.522 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.1509, allocations: 37.73 kB / 0.522 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1509, allocations: 4 kB / 0.522 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1509, allocations: 4 kB / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.1509, allocations: 0 / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1509, allocations: 0 / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.1509, allocations: 0 / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1509, allocations: 0 / 0.522 GB, free: 1.699 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 9.952e-05/0.151, allocations: 139.5 kB / 0.5222 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.151, allocations: 7.922 kB / 0.5222 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.151, allocations: 3.156 kB / 0.5222 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1511, allocations: 7.984 kB / 0.5222 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1511, allocations: 7.938 kB / 0.5222 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.1511, allocations: 0 / 0.5222 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.375e-05/0.1511, allocations: 93.33 kB / 0.5223 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1511, allocations: 0 / 0.5223 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1511, allocations: 0 / 0.5223 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.1511, allocations: 4 kB / 0.5223 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1512, allocations: 7.922 kB / 0.5223 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1512, allocations: 0 / 0.5223 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1512, allocations: 0 / 0.5223 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.1513, allocations: 116.5 kB / 0.5224 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.1513, allocations: 15.95 kB / 0.5224 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.1513, allocations: 3.938 kB / 0.5224 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-06/0.1513, allocations: 0 / 0.5224 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.1513, allocations: 0 / 0.5224 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1513, allocations: 4 kB / 0.5224 GB, free: 1.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.662e-05/0.1514, allocations: 79.28 kB / 0.5225 GB, free: 1.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1514, allocations: 3.938 kB / 0.5225 GB, free: 1.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.1517, allocations: 59.86 kB / 0.5226 GB, free: 1.078 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.0009074/0.1526, allocations: 345.7 kB / 0.5229 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.1528, allocations: 110.8 kB / 0.523 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1528, allocations: 0 / 0.523 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.642e-05/0.1528, allocations: 81.11 kB / 0.5231 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.153, allocations: 8.125 kB / 0.5231 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.1532, allocations: 148.2 kB / 0.5232 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.596e-05/0.1533, allocations: 55.36 kB / 0.5233 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.527e-05/0.1533, allocations: 7.438 kB / 0.5233 GB, free: 228 kB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1533, allocations: 3.938 kB / 0.5233 GB, free: 224 kB / 398.1 MB Notification: Performance of Templates: time 0.004086/0.1574, allocations: 1.677 MB / 0.5249 GB, free: 14.54 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/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: 8.336177890188992]