Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.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.001376/0.001376, allocations: 100.4 kB / 20.45 MB, free: 1.254 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.001507/0.001507, allocations: 216.7 kB / 23.74 MB, free: 4.438 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.507/1.507, allocations: 207.7 MB / 234.6 MB, free: 9.812 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.2357/0.2357, allocations: 44.27 MB / 331.1 MB, free: 9.418 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.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") [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.002387/0.002387, allocations: 67.91 kB / 468.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1291, allocations: 61.05 MB / 0.5174 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004827/0.134, allocations: 2.523 MB / 0.5198 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.137, allocations: 0.9318 MB / 0.5207 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00053/0.1375, allocations: 11.94 kB / 0.5207 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.1379, allocations: 51.45 kB / 0.5208 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005184/0.1385, allocations: 103.1 kB / 0.5209 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.1393, allocations: 147.6 kB / 0.521 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008119/0.1401, allocations: 374.2 kB / 0.5214 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.1403, allocations: 69.25 kB / 0.5215 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.1406, allocations: 135.5 kB / 0.5216 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.1409, allocations: 127.3 kB / 0.5217 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.639e-05/0.141, allocations: 24 kB / 0.5217 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.1412, allocations: 43.98 kB / 0.5218 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.052e-05/0.1413, allocations: 63.77 kB / 0.5218 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.1415, allocations: 135.4 kB / 0.522 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005643/0.142, allocations: 366.5 kB / 0.5223 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.142, allocations: 0 / 0.5223 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.142, allocations: 0 / 0.5223 GB, free: 1.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.1421, allocations: 4 kB / 0.5223 GB, free: 1.605 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001137/0.1432, allocations: 0.5247 MB / 0.5228 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1432, allocations: 16.03 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.1435, allocations: 48.69 kB / 0.5229 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.144, allocations: 210 kB / 0.5231 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.144, allocations: 28.95 kB / 0.5231 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.1441, allocations: 36.33 kB / 0.5231 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.1446, allocations: 298.7 kB / 0.5234 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.1447, allocations: 15.88 kB / 0.5234 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.1447, allocations: 20 kB / 0.5235 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.1447, allocations: 8 kB / 0.5235 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.1451, allocations: 167.8 kB / 0.5236 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.1471, allocations: 1.169 MB / 0.5248 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.1476, allocations: 237 kB / 0.525 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.1477, allocations: 72.33 kB / 0.5251 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1477, allocations: 7.938 kB / 0.5251 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.1478, allocations: 50.48 kB / 0.5251 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.824e-06/0.1478, allocations: 0 / 0.5251 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.000536/0.1483, allocations: 217.5 kB / 0.5253 GB, free: 14.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.1484, allocations: 166.2 kB / 0.5255 GB, free: 14.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.1486, allocations: 204.2 kB / 0.5257 GB, free: 13.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1487, allocations: 25.7 kB / 0.5257 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.1488, allocations: 196.4 kB / 0.5259 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.1489, allocations: 95.3 kB / 0.526 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.149, allocations: 65.7 kB / 0.5261 GB, free: 13.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1492, allocations: 330.8 kB / 0.5264 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1493, allocations: 67.97 kB / 0.5264 GB, free: 13.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.1495, allocations: 206.2 kB / 0.5266 GB, free: 12.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.1499, allocations: 293.8 kB / 0.5269 GB, free: 12.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.15, allocations: 4 kB / 0.5269 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005391/0.1505, allocations: 320.9 kB / 0.5272 GB, free: 12.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1505, allocations: 8.094 kB / 0.5272 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1505, allocations: 7.938 kB / 0.5272 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.1506, allocations: 4.531 kB / 0.5272 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.1509, allocations: 95.89 kB / 0.5273 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.1509, allocations: 7.938 kB / 0.5273 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1511, allocations: 39.67 kB / 0.5274 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.1511, allocations: 19.98 kB / 0.5274 GB, free: 11.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (44): * Single equations (assignments): 44 * 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.000187/0.1513, allocations: 153.7 kB / 0.5275 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1514, allocations: 23.86 kB / 0.5276 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.1516, allocations: 91.77 kB / 0.5277 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1516, allocations: 4 kB / 0.5277 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1516, allocations: 0 / 0.5277 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1516, allocations: 4 kB / 0.5277 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.1521, allocations: 229.1 kB / 0.5279 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1522, allocations: 3.938 kB / 0.5279 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.1525, allocations: 67.91 kB / 0.5279 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.1525, allocations: 7.984 kB / 0.528 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.1525, allocations: 4 kB / 0.528 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1525, allocations: 0 / 0.528 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.1525, allocations: 4 kB / 0.528 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.1532, allocations: 0.6334 MB / 0.5286 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.1532, allocations: 23.78 kB / 0.5286 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.1533, allocations: 11.98 kB / 0.5286 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.1535, allocations: 12 kB / 0.5286 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.1536, allocations: 11.97 kB / 0.5286 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1536, allocations: 12 kB / 0.5286 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.1537, allocations: 136 kB / 0.5288 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1537, allocations: 0 / 0.5288 GB, free: 10.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005637/0.1543, allocations: 87.78 kB / 0.5289 GB, free: 10.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * 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 (23): * Single equations (assignments): 23 * 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.000138/0.1544, allocations: 99.19 kB / 0.529 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.1548, allocations: 180.1 kB / 0.5291 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.1548, allocations: 0 / 0.5291 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.155, allocations: 75.84 kB / 0.5292 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.1558, allocations: 60.58 kB / 0.5293 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.1577, allocations: 1.157 MB / 0.5304 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1579, allocations: 165.1 kB / 0.5305 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.158, allocations: 23.44 kB / 0.5306 GB, free: 8.574 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.158, allocations: 0 / 0.5306 GB, free: 8.574 MB / 414.1 MB Notification: Performance of Templates: time 0.007139/0.1651, allocations: 3.554 MB / 0.534 GB, free: 5.027 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.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: 7.970326744019985]