Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001273/0.001273, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001389/0.001389, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.487/1.487, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2316/0.2316, allocations: 46.89 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 79.88 kB / 0.4923 GB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1337, allocations: 65.98 MB / 0.5568 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.00411/0.1378, allocations: 2.383 MB / 0.5591 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1395, allocations: 0.9111 MB / 0.56 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1396, allocations: 4 kB / 0.56 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.1399, allocations: 55.52 kB / 0.5601 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.14, allocations: 75.39 kB / 0.5601 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1404, allocations: 143.6 kB / 0.5603 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.1408, allocations: 359.3 kB / 0.5606 GB, free: 2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.141, allocations: 60.94 kB / 0.5607 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.1413, allocations: 163.4 kB / 0.5608 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.1416, allocations: 163.4 kB / 0.561 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.1416, allocations: 28 kB / 0.561 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.1418, allocations: 83.97 kB / 0.5611 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.1419, allocations: 71.8 kB / 0.5611 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.1421, allocations: 143.2 kB / 0.5613 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.1426, allocations: 374.6 kB / 0.5616 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1426, allocations: 0 / 0.5616 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.1426, allocations: 8 kB / 0.5617 GB, free: 0.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1426, allocations: 0 / 0.5617 GB, free: 0.918 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.00107/0.1437, allocations: 0.5843 MB / 0.5622 GB, free: 292 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1438, allocations: 13.11 kB / 0.5622 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.144, allocations: 32.78 kB / 0.5623 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.1444, allocations: 268.6 kB / 0.5625 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.1444, allocations: 20.88 kB / 0.5625 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.1445, allocations: 24.38 kB / 0.5626 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.1451, allocations: 269.1 kB / 0.5628 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.1451, allocations: 7.953 kB / 0.5628 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.1451, allocations: 7.984 kB / 0.5628 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.1451, allocations: 8 kB / 0.5628 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.1457, allocations: 238.1 kB / 0.5631 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.1471, allocations: 0.7291 MB / 0.5638 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.1477, allocations: 234.4 kB / 0.564 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.148, allocations: 123.9 kB / 0.5641 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.148, allocations: 4 kB / 0.5641 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1481, allocations: 38.56 kB / 0.5642 GB, free: 14.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.884e-06/0.1481, allocations: 0 / 0.5642 GB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003436/0.1515, allocations: 1.411 MB / 0.5655 GB, free: 12.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.1515, allocations: 59.34 kB / 0.5656 GB, free: 12.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.1518, allocations: 211.7 kB / 0.5658 GB, free: 12.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.1518, allocations: 33.7 kB / 0.5658 GB, free: 12.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.912e-05/0.1519, allocations: 140.8 kB / 0.566 GB, free: 12.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.152, allocations: 130.9 kB / 0.5661 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1522, allocations: 65.69 kB / 0.5662 GB, free: 11.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1523, allocations: 334.8 kB / 0.5665 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.1526, allocations: 116 kB / 0.5666 GB, free: 11.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.1529, allocations: 163.3 kB / 0.5667 GB, free: 11.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.1534, allocations: 251 kB / 0.567 GB, free: 11.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1534, allocations: 0 / 0.567 GB, free: 11.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009375/0.1543, allocations: 418 kB / 0.5674 GB, free: 10.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1544, allocations: 12.06 kB / 0.5674 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1544, allocations: 3.938 kB / 0.5674 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.1549, allocations: 196.7 kB / 0.5676 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.1551, allocations: 51.91 kB / 0.5676 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008509/0.1559, allocations: 0.7375 MB / 0.5684 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.1562, allocations: 27.97 kB / 0.5684 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.1562, allocations: 19.98 kB / 0.5684 GB, free: 9.621 MB / 430.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.0001749/0.1564, allocations: 141.8 kB / 0.5685 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.1565, allocations: 23.86 kB / 0.5686 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.653e-05/0.1566, allocations: 38.64 kB / 0.5686 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1566, allocations: 12 kB / 0.5686 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1566, allocations: 0 / 0.5686 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1566, allocations: 0 / 0.5686 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.1584, allocations: 0.9364 MB / 0.5695 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1584, allocations: 4.031 kB / 0.5695 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.1586, allocations: 55.84 kB / 0.5696 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/0.159, allocations: 168.7 kB / 0.5697 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.159, allocations: 7.984 kB / 0.5697 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007246/0.1598, allocations: 0.7005 MB / 0.5704 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1598, allocations: 4.031 kB / 0.5704 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.161, allocations: 0.6037 MB / 0.571 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.1611, allocations: 133 kB / 0.5711 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.1612, allocations: 12 kB / 0.5712 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.1614, allocations: 35.95 kB / 0.5712 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.1616, allocations: 47.92 kB / 0.5712 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.1616, allocations: 15.97 kB / 0.5713 GB, free: 6.547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1618, allocations: 153.5 kB / 0.5714 GB, free: 6.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1618, allocations: 0 / 0.5714 GB, free: 6.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003999/0.1622, allocations: 67.94 kB / 0.5715 GB, free: 6.332 MB / 430.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.001298/0.1634, allocations: 368.5 kB / 0.5718 GB, free: 6.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007907/0.1642, allocations: 291.5 kB / 0.5721 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1642, allocations: 4 kB / 0.5721 GB, free: 5.801 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.1646, allocations: 143.8 kB / 0.5722 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.165, allocations: 56.14 kB / 0.5723 GB, free: 5.609 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.1672, allocations: 0.8013 MB / 0.5731 GB, free: 4.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.1676, allocations: 0.7564 MB / 0.5738 GB, free: 3.988 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.313e-05/0.1677, allocations: 27.42 kB / 0.5738 GB, free: 3.961 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1677, allocations: 0 / 0.5738 GB, free: 3.961 MB / 430.1 MB Notification: Performance of Templates: time 0.008414/0.1761, allocations: 4.506 MB / 0.5782 GB, free: 15.45 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.29293202306144]