Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001916/0.001916, allocations: 117 kB / 19.13 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002318/0.002318, allocations: 206.6 kB / 22.08 MB, free: 1.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 252.3 MB, free: 52 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2479/0.2479, allocations: 46.16 MB / 351.8 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_trunk_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|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 79.73 kB / 490.8 MB, free: 27.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1378, allocations: 62.45 MB / 0.5403 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004685/0.1425, allocations: 3.039 MB / 0.5433 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1446, allocations: 1.063 MB / 0.5443 GB, free: 124 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.1448, allocations: 11.94 kB / 0.5443 GB, free: 112 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1451, allocations: 63.31 kB / 0.5444 GB, free: 48 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.1454, allocations: 111 kB / 0.5445 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.146, allocations: 175.5 kB / 0.5447 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005066/0.1465, allocations: 461.8 kB / 0.5451 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.1467, allocations: 123.5 kB / 0.5452 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1469, allocations: 147.5 kB / 0.5454 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.1472, allocations: 179.2 kB / 0.5455 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.153e-05/0.1472, allocations: 31.98 kB / 0.5456 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1474, allocations: 63.92 kB / 0.5456 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.12e-05/0.1475, allocations: 75.7 kB / 0.5457 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.1477, allocations: 191.1 kB / 0.5459 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.1482, allocations: 446.1 kB / 0.5463 GB, free: 14.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1482, allocations: 0 / 0.5463 GB, free: 14.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1482, allocations: 0 / 0.5463 GB, free: 14.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1483, allocations: 0 / 0.5463 GB, free: 14.07 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001109/0.1494, allocations: 0.6731 MB / 0.547 GB, free: 13.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1494, allocations: 8.031 kB / 0.547 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.1497, allocations: 64.64 kB / 0.547 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.1502, allocations: 303.2 kB / 0.5473 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.1503, allocations: 29.38 kB / 0.5474 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/0.1504, allocations: 48.27 kB / 0.5474 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.151, allocations: 355.6 kB / 0.5477 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.151, allocations: 11.94 kB / 0.5478 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.1511, allocations: 12 kB / 0.5478 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.1511, allocations: 8 kB / 0.5478 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.1516, allocations: 227.7 kB / 0.548 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.154, allocations: 1.582 MB / 0.5495 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.1546, allocations: 307.6 kB / 0.5498 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.1548, allocations: 101.3 kB / 0.5499 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.1548, allocations: 11.97 kB / 0.5499 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1549, allocations: 34.56 kB / 0.55 GB, free: 10.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.873e-06/0.1549, allocations: 0 / 0.55 GB, free: 10.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.000702/0.1556, allocations: 277.3 kB / 0.5502 GB, free: 9.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.1557, allocations: 183.9 kB / 0.5504 GB, free: 9.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.156, allocations: 234.6 kB / 0.5506 GB, free: 9.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.156, allocations: 33.7 kB / 0.5507 GB, free: 9.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1562, allocations: 220.1 kB / 0.5509 GB, free: 9.023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.1563, allocations: 119.1 kB / 0.551 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1564, allocations: 74.08 kB / 0.5511 GB, free: 8.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1566, allocations: 346.8 kB / 0.5514 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.1568, allocations: 80.83 kB / 0.5515 GB, free: 8.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.1571, allocations: 245.8 kB / 0.5517 GB, free: 8.086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/0.1577, allocations: 368.9 kB / 0.5521 GB, free: 7.648 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.1577, allocations: 4 kB / 0.5521 GB, free: 7.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006539/0.1583, allocations: 380.8 kB / 0.5524 GB, free: 7.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1584, allocations: 8 kB / 0.5524 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1584, allocations: 8 kB / 0.5524 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.1584, allocations: 8 kB / 0.5524 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.1588, allocations: 104.5 kB / 0.5525 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.1588, allocations: 11.98 kB / 0.5526 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.159, allocations: 47.67 kB / 0.5526 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.1591, allocations: 20 kB / 0.5526 GB, free: 7.062 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (52): * Single equations (assignments): 52 * 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.0001671/0.1592, allocations: 157.7 kB / 0.5528 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.1594, allocations: 35.8 kB / 0.5528 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.1596, allocations: 91.33 kB / 0.5529 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1596, allocations: 4 kB / 0.5529 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.1596, allocations: 4 kB / 0.5529 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1596, allocations: 4 kB / 0.5529 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007233/0.1603, allocations: 357.2 kB / 0.5532 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1604, allocations: 4.312 kB / 0.5533 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.1608, allocations: 83.89 kB / 0.5533 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1608, allocations: 0 / 0.5533 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.1608, allocations: 8.75 kB / 0.5533 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1608, allocations: 4 kB / 0.5533 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1608, allocations: 4 kB / 0.5533 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.1617, allocations: 0.7663 MB / 0.5541 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.1618, allocations: 108.9 kB / 0.5542 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.1618, allocations: 12 kB / 0.5542 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.1621, allocations: 4 kB / 0.5542 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.1622, allocations: 27.95 kB / 0.5542 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1622, allocations: 8 kB / 0.5542 GB, free: 5.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.1624, allocations: 173.9 kB / 0.5544 GB, free: 5.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1624, allocations: 0 / 0.5544 GB, free: 5.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006139/0.163, allocations: 99.78 kB / 0.5545 GB, free: 5.023 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,inertia6.w,inverseSpeedDependentTorque.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 (27): * Single equations (assignments): 27 * 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.0001369/0.1632, allocations: 103.2 kB / 0.5546 GB, free: 4.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005306/0.1637, allocations: 239.6 kB / 0.5548 GB, free: 4.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1637, allocations: 0 / 0.5548 GB, free: 4.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.1639, allocations: 97.08 kB / 0.5549 GB, free: 4.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009476/0.1649, allocations: 75.83 kB / 0.555 GB, free: 4.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.1671, allocations: 1.349 MB / 0.5563 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.1676, allocations: 0.7873 MB / 0.5571 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.1677, allocations: 35.36 kB / 0.5571 GB, free: 2.266 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1677, allocations: 0 / 0.5571 GB, free: 2.266 MB / 414.1 MB Notification: Performance of Templates: time 0.007569/0.1753, allocations: 4.088 MB / 0.5611 GB, free: 14.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.9002600508974865]