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.001341/0.001341, allocations: 111.9 kB / 19.12 MB, free: 3.941 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.001408/0.001408, allocations: 208.9 kB / 22.08 MB, free: 0.9922 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.445/1.445, allocations: 227.4 MB / 252.3 MB, free: 76 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.2333/0.2333, allocations: 46.17 MB / 351.8 MB, free: 14.3 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.002209/0.002209, allocations: 89 kB / 490.9 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1238, allocations: 62.45 MB / 0.5403 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004426/0.1283, allocations: 2.358 MB / 0.5426 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.13, allocations: 0.9034 MB / 0.5435 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.1303, allocations: 7.938 kB / 0.5435 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.1306, allocations: 55.52 kB / 0.5436 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1309, allocations: 75.39 kB / 0.5437 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.1314, allocations: 147.6 kB / 0.5438 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.1319, allocations: 351.3 kB / 0.5441 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1322, allocations: 80.92 kB / 0.5442 GB, free: 284 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.1325, allocations: 155.6 kB / 0.5444 GB, free: 128 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.1329, allocations: 159.4 kB / 0.5445 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.436e-05/0.1329, allocations: 28 kB / 0.5445 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.1332, allocations: 83.98 kB / 0.5446 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.1333, allocations: 79.67 kB / 0.5447 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.1335, allocations: 139.4 kB / 0.5448 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.1341, allocations: 386.5 kB / 0.5452 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1341, allocations: 0 / 0.5452 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1341, allocations: 0 / 0.5452 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.1342, allocations: 0 / 0.5452 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.00117/0.1353, allocations: 0.5844 MB / 0.5458 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1354, allocations: 13.11 kB / 0.5458 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.1356, allocations: 40.78 kB / 0.5458 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.136, allocations: 264.5 kB / 0.5461 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.1361, allocations: 16.92 kB / 0.5461 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/0.1362, allocations: 24.38 kB / 0.5461 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.1367, allocations: 265.1 kB / 0.5464 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.1368, allocations: 11.94 kB / 0.5464 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.1368, allocations: 12 kB / 0.5464 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1368, allocations: 4 kB / 0.5464 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.1374, allocations: 234.1 kB / 0.5466 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.1389, allocations: 0.7291 MB / 0.5473 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.1395, allocations: 254.4 kB / 0.5476 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.1398, allocations: 135.1 kB / 0.5477 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.1398, allocations: 4.062 kB / 0.5477 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.1399, allocations: 38.56 kB / 0.5477 GB, free: 12.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.873e-06/0.1399, allocations: 4 kB / 0.5477 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003395/0.1433, allocations: 1.415 MB / 0.5491 GB, free: 10.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1433, allocations: 55.41 kB / 0.5492 GB, free: 10.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1436, allocations: 207.8 kB / 0.5494 GB, free: 10.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.1437, allocations: 37.7 kB / 0.5494 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1438, allocations: 140.8 kB / 0.5495 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.1439, allocations: 123 kB / 0.5497 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.144, allocations: 65.69 kB / 0.5497 GB, free: 10.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1442, allocations: 338.7 kB / 0.55 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.1445, allocations: 119.9 kB / 0.5502 GB, free: 9.855 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.1448, allocations: 167.3 kB / 0.5503 GB, free: 9.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.1453, allocations: 243 kB / 0.5506 GB, free: 9.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1453, allocations: 0 / 0.5506 GB, free: 9.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009444/0.1463, allocations: 426 kB / 0.551 GB, free: 9.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.1463, allocations: 8 kB / 0.551 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1463, allocations: 3.938 kB / 0.551 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005189/0.1469, allocations: 192.7 kB / 0.5512 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.1471, allocations: 55.91 kB / 0.5512 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009837/0.1481, allocations: 0.7375 MB / 0.5519 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.1484, allocations: 31.95 kB / 0.552 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.1485, allocations: 19.98 kB / 0.552 GB, free: 7.934 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.0002518/0.1487, allocations: 149.7 kB / 0.5521 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.207e-05/0.1488, allocations: 27.92 kB / 0.5521 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.1489, allocations: 34.64 kB / 0.5522 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.149, allocations: 4 kB / 0.5522 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.149, allocations: 0 / 0.5522 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.149, allocations: 0 / 0.5522 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.151, allocations: 0.952 MB / 0.5531 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.151, allocations: 0 / 0.5531 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.1513, allocations: 39.98 kB / 0.5532 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004221/0.1517, allocations: 180.6 kB / 0.5533 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.1517, allocations: 8 kB / 0.5533 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000765/0.1525, allocations: 0.6967 MB / 0.554 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.1525, allocations: 3.984 kB / 0.554 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.1538, allocations: 0.6194 MB / 0.5546 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.1539, allocations: 128.9 kB / 0.5547 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.154, allocations: 15.94 kB / 0.5548 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.1543, allocations: 31.95 kB / 0.5548 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.1544, allocations: 47.92 kB / 0.5548 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.1545, allocations: 11.98 kB / 0.5548 GB, free: 4.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.1547, allocations: 157.6 kB / 0.555 GB, free: 4.695 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1547, allocations: 0 / 0.555 GB, free: 4.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004001/0.1551, allocations: 68 kB / 0.5551 GB, free: 4.629 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.001396/0.1565, allocations: 374.2 kB / 0.5554 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008162/0.1573, allocations: 311.5 kB / 0.5557 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1573, allocations: 0 / 0.5557 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.1577, allocations: 163.8 kB / 0.5559 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.1582, allocations: 35.97 kB / 0.5559 GB, free: 3.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.1603, allocations: 0.7974 MB / 0.5567 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.1609, allocations: 0.7564 MB / 0.5574 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/0.161, allocations: 31.36 kB / 0.5575 GB, free: 2.234 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.161, allocations: 0 / 0.5575 GB, free: 2.234 MB / 414.1 MB Notification: Performance of Templates: time 0.009263/0.1702, allocations: 4.489 MB / 0.5618 GB, free: 13.75 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.227029858971946]