Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.001256/0.001256, allocations: 112.5 kB / 18.45 MB, free: 4.562 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.001389/0.001389, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2474/0.2474, allocations: 46.92 MB / 357.8 MB, free: 10.29 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_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_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 75.86 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1303, allocations: 65.99 MB / 0.5565 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004645/0.135, allocations: 2.377 MB / 0.5588 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.137, allocations: 0.9073 MB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.1372, allocations: 7.938 kB / 0.5597 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.1375, allocations: 55.52 kB / 0.5598 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.1379, allocations: 83.39 kB / 0.5598 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.1384, allocations: 139.6 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.1389, allocations: 355.3 kB / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.1391, allocations: 64.92 kB / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.1394, allocations: 155.5 kB / 0.5605 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.1398, allocations: 167.3 kB / 0.5607 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.1398, allocations: 32 kB / 0.5607 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.14, allocations: 87.97 kB / 0.5608 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1402, allocations: 67.81 kB / 0.5609 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.1404, allocations: 143.3 kB / 0.561 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.1409, allocations: 382.6 kB / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1409, allocations: 3.938 kB / 0.5614 GB, free: 316 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1409, allocations: 0 / 0.5614 GB, free: 316 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.141, allocations: 0 / 0.5614 GB, free: 316 kB / 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.001303/0.1423, allocations: 0.596 MB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1423, allocations: 9.109 kB / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.1425, allocations: 32.8 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.143, allocations: 263 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.143, allocations: 16.94 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.1431, allocations: 24.38 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.1437, allocations: 273 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.1437, allocations: 7.953 kB / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.1437, allocations: 8 kB / 0.5626 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.1437, allocations: 8 kB / 0.5626 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.1443, allocations: 234.1 kB / 0.5628 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.1458, allocations: 0.7408 MB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.1464, allocations: 224.7 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.1467, allocations: 121.2 kB / 0.5638 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.1468, allocations: 11.94 kB / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1468, allocations: 38.48 kB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.412e-06/0.1468, allocations: 0 / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003537/0.1503, allocations: 1.418 MB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.1504, allocations: 55.39 kB / 0.5653 GB, free: 11.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.1506, allocations: 215.7 kB / 0.5655 GB, free: 11.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.1507, allocations: 37.64 kB / 0.5656 GB, free: 11.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1508, allocations: 136.9 kB / 0.5657 GB, free: 11.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1509, allocations: 122.9 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.1511, allocations: 69.69 kB / 0.5659 GB, free: 11.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1512, allocations: 330.8 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.1515, allocations: 123.9 kB / 0.5663 GB, free: 10.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.1518, allocations: 159.3 kB / 0.5665 GB, free: 10.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.1523, allocations: 235 kB / 0.5667 GB, free: 10.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1523, allocations: 0 / 0.5667 GB, free: 10.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009498/0.1533, allocations: 434 kB / 0.5671 GB, free: 10.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1533, allocations: 4 kB / 0.5671 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.1533, allocations: 11.92 kB / 0.5671 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.1538, allocations: 188.8 kB / 0.5673 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.154, allocations: 55.91 kB / 0.5674 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008752/0.1549, allocations: 0.7242 MB / 0.5681 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.1552, allocations: 39.95 kB / 0.5681 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.1552, allocations: 16.06 kB / 0.5681 GB, free: 9.012 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.0001768/0.1554, allocations: 153.7 kB / 0.5683 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.1555, allocations: 27.84 kB / 0.5683 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.408e-05/0.1556, allocations: 34.66 kB / 0.5683 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1556, allocations: 4 kB / 0.5683 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1556, allocations: 0 / 0.5683 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1556, allocations: 3.984 kB / 0.5683 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.1573, allocations: 0.9324 MB / 0.5692 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1573, allocations: 3.938 kB / 0.5692 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.1576, allocations: 47.91 kB / 0.5693 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/0.158, allocations: 176.7 kB / 0.5695 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.158, allocations: 11.98 kB / 0.5695 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007335/0.1587, allocations: 0.6889 MB / 0.5701 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1587, allocations: 3.938 kB / 0.5701 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.16, allocations: 0.6156 MB / 0.5707 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.1601, allocations: 128.9 kB / 0.5709 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.1602, allocations: 15.98 kB / 0.5709 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.1605, allocations: 39.97 kB / 0.5709 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.1606, allocations: 43.92 kB / 0.571 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.1606, allocations: 11.98 kB / 0.571 GB, free: 5.934 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1608, allocations: 153.5 kB / 0.5711 GB, free: 5.785 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1608, allocations: 0 / 0.5711 GB, free: 5.785 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.1612, allocations: 75.92 kB / 0.5712 GB, free: 5.711 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.001341/0.1625, allocations: 372.7 kB / 0.5715 GB, free: 5.477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007791/0.1633, allocations: 287.4 kB / 0.5718 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1633, allocations: 0 / 0.5718 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.1636, allocations: 152 kB / 0.572 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.1641, allocations: 42.08 kB / 0.572 GB, free: 5.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.1661, allocations: 0.7972 MB / 0.5728 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.1665, allocations: 0.7603 MB / 0.5735 GB, free: 3.383 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.1666, allocations: 27.42 kB / 0.5736 GB, free: 3.355 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1666, allocations: 3.938 kB / 0.5736 GB, free: 3.352 MB / 430.1 MB Notification: Performance of Templates: time 0.007385/0.174, allocations: 4.515 MB / 0.578 GB, free: 14.83 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.424362745019607]