Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.00132/0.00132, allocations: 117.2 kB / 18.45 MB, free: 4.461 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.001511/0.001512, allocations: 210.6 kB / 21.4 MB, free: 1.516 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.514/1.514, allocations: 227.4 MB / 251.6 MB, free: 284 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.2458/0.2458, allocations: 46.17 MB / 351.1 MB, free: 14.32 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.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 81.44 kB / 490.2 MB, free: 28.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1322, allocations: 62.45 MB / 0.5397 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004686/0.137, allocations: 2.364 MB / 0.542 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1388, allocations: 0.8994 MB / 0.5429 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1389, allocations: 7.938 kB / 0.5429 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1392, allocations: 59.56 kB / 0.5429 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1395, allocations: 71.41 kB / 0.543 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.1399, allocations: 143.6 kB / 0.5431 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000441/0.1403, allocations: 355.3 kB / 0.5435 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.1406, allocations: 80.92 kB / 0.5435 GB, free: 284 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.1409, allocations: 159.6 kB / 0.5437 GB, free: 124 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.1412, allocations: 159.4 kB / 0.5438 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.1412, allocations: 28 kB / 0.5439 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.1414, allocations: 87.97 kB / 0.544 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.1416, allocations: 71.69 kB / 0.544 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1417, allocations: 139.4 kB / 0.5442 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005852/0.1423, allocations: 386.5 kB / 0.5445 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1424, allocations: 0 / 0.5445 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1424, allocations: 0 / 0.5445 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1424, allocations: 0 / 0.5445 GB, free: 15.27 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001064/0.1434, allocations: 0.5883 MB / 0.5451 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1435, allocations: 9.109 kB / 0.5451 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.1437, allocations: 36.78 kB / 0.5451 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.1442, allocations: 268.5 kB / 0.5454 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.1442, allocations: 16.94 kB / 0.5454 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.1443, allocations: 24.38 kB / 0.5454 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.1449, allocations: 273.1 kB / 0.5457 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1449, allocations: 3.953 kB / 0.5457 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.1449, allocations: 12 kB / 0.5457 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1449, allocations: 4 kB / 0.5457 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006426/0.1456, allocations: 230.1 kB / 0.5459 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1472, allocations: 0.733 MB / 0.5467 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.1478, allocations: 254.4 kB / 0.5469 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.1481, allocations: 135.6 kB / 0.547 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.1482, allocations: 4 kB / 0.547 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.1482, allocations: 34.56 kB / 0.5471 GB, free: 12.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.903e-06/0.1482, allocations: 0 / 0.5471 GB, free: 12.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003352/0.1516, allocations: 1.424 MB / 0.5485 GB, free: 10.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.1517, allocations: 55.41 kB / 0.5485 GB, free: 10.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.1519, allocations: 211.8 kB / 0.5487 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.152, allocations: 29.7 kB / 0.5487 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1521, allocations: 144.8 kB / 0.5489 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1522, allocations: 119 kB / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.1523, allocations: 77.62 kB / 0.5491 GB, free: 10.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1525, allocations: 334.8 kB / 0.5494 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.1528, allocations: 119.9 kB / 0.5495 GB, free: 9.852 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.1531, allocations: 159.3 kB / 0.5496 GB, free: 9.684 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.1536, allocations: 243 kB / 0.5499 GB, free: 9.434 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1536, allocations: 0 / 0.5499 GB, free: 9.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000927/0.1545, allocations: 426 kB / 0.5503 GB, free: 9.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1546, allocations: 4 kB / 0.5503 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1546, allocations: 3.938 kB / 0.5503 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004997/0.1551, allocations: 196.8 kB / 0.5505 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.1553, allocations: 55.91 kB / 0.5505 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008204/0.1562, allocations: 0.7358 MB / 0.5513 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.1564, allocations: 36.06 kB / 0.5513 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.1565, allocations: 15.98 kB / 0.5513 GB, free: 7.938 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.1566, allocations: 149.7 kB / 0.5514 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.1567, allocations: 27.86 kB / 0.5515 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.853e-05/0.1568, allocations: 34.64 kB / 0.5515 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1568, allocations: 4 kB / 0.5515 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1568, allocations: 0 / 0.5515 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1569, allocations: 4 kB / 0.5515 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.1586, allocations: 0.9442 MB / 0.5524 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1586, allocations: 4 kB / 0.5524 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.1588, allocations: 48 kB / 0.5525 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003927/0.1592, allocations: 172.7 kB / 0.5526 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.1593, allocations: 11.98 kB / 0.5527 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007258/0.16, allocations: 0.6968 MB / 0.5533 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.16, allocations: 0 / 0.5533 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.1612, allocations: 0.6116 MB / 0.5539 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1614, allocations: 136.8 kB / 0.5541 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.1614, allocations: 8 kB / 0.5541 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.1617, allocations: 44.02 kB / 0.5541 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.1618, allocations: 43.92 kB / 0.5542 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.1619, allocations: 15.98 kB / 0.5542 GB, free: 4.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.1621, allocations: 153.5 kB / 0.5543 GB, free: 4.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1621, allocations: 4 kB / 0.5543 GB, free: 4.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.1624, allocations: 64 kB / 0.5544 GB, free: 4.633 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/0.1638, allocations: 366.4 kB / 0.5547 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000752/0.1645, allocations: 315.5 kB / 0.555 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1645, allocations: 4.125 kB / 0.555 GB, free: 4.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.1649, allocations: 159.8 kB / 0.5552 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.1653, allocations: 40.16 kB / 0.5552 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1673, allocations: 0.7706 MB / 0.556 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.1678, allocations: 0.7564 MB / 0.5567 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1679, allocations: 26.28 kB / 0.5567 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.168, allocations: 23.44 kB / 0.5568 GB, free: 2.242 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.168, allocations: 0 / 0.5568 GB, free: 2.242 MB / 414.1 MB Notification: Performance of Templates: time 0.01022/0.1782, allocations: 5.185 MB / 0.5618 GB, free: 13.07 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.11119891423732]