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.0015/0.0015, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.00172/0.00172, allocations: 197.5 kB / 23.72 MB, free: 4.5 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2483/0.2483, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.00201/0.00201, allocations: 67.91 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3319, allocations: 66.04 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004115/0.336, allocations: 2.26 MB / 0.5633 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3377, allocations: 0.8606 MB / 0.5641 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.3378, allocations: 7.938 kB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.338, allocations: 51.56 kB / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.3382, allocations: 75.41 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.3386, allocations: 155.6 kB / 0.5644 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.339, allocations: 355.2 kB / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.3392, allocations: 61.12 kB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/0.3395, allocations: 155.5 kB / 0.5649 GB, free: 164 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.3398, allocations: 143.5 kB / 0.5651 GB, free: 20 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.3398, allocations: 32.05 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.34, allocations: 91.8 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3402, allocations: 71.81 kB / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.3403, allocations: 115.5 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.3408, allocations: 389 kB / 0.5657 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3408, allocations: 0 / 0.5657 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3408, allocations: 0 / 0.5657 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3408, allocations: 0 / 0.5657 GB, free: 15.34 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.001007/0.3418, allocations: 0.5207 MB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3419, allocations: 12.03 kB / 0.5663 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.3421, allocations: 32.78 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.3425, allocations: 198.8 kB / 0.5665 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.3425, allocations: 20.88 kB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.3426, allocations: 24.38 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.3431, allocations: 264.3 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.3431, allocations: 11.95 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.3432, allocations: 8 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3432, allocations: 4 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.3437, allocations: 237.8 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3451, allocations: 0.5919 MB / 0.5676 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.3457, allocations: 230.5 kB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.3459, allocations: 124.8 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.346, allocations: 3.938 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.346, allocations: 38.56 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.813e-06/0.346, allocations: 3.938 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003184/0.3492, allocations: 1.189 MB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3492, allocations: 55.41 kB / 0.5692 GB, free: 11.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3494, allocations: 186.9 kB / 0.5694 GB, free: 11.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.3495, allocations: 41.69 kB / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3496, allocations: 144.8 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.3497, allocations: 119 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.3498, allocations: 69.64 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.35, allocations: 326.8 kB / 0.57 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.3502, allocations: 119.9 kB / 0.5702 GB, free: 10.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.3505, allocations: 167.3 kB / 0.5703 GB, free: 10.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.351, allocations: 232 kB / 0.5705 GB, free: 10.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.351, allocations: 3.938 kB / 0.5705 GB, free: 10.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008987/0.3519, allocations: 418.1 kB / 0.5709 GB, free: 9.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3519, allocations: 7.938 kB / 0.571 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3519, allocations: 4.062 kB / 0.571 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/0.3524, allocations: 192.6 kB / 0.5711 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.3526, allocations: 55.91 kB / 0.5712 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008229/0.3535, allocations: 0.7358 MB / 0.5719 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.3537, allocations: 40.05 kB / 0.572 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.3538, allocations: 12 kB / 0.572 GB, free: 8.684 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.0001789/0.3539, allocations: 150.4 kB / 0.5721 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.354, allocations: 23.86 kB / 0.5721 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.006e-05/0.3541, allocations: 34.64 kB / 0.5722 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3541, allocations: 0 / 0.5722 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3541, allocations: 4 kB / 0.5722 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3541, allocations: 0 / 0.5722 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.3557, allocations: 0.8345 MB / 0.573 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3557, allocations: 0 / 0.573 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.356, allocations: 47.97 kB / 0.573 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003849/0.3564, allocations: 180.6 kB / 0.5732 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.3564, allocations: 12.02 kB / 0.5732 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000697/0.3571, allocations: 0.689 MB / 0.5739 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3571, allocations: 0 / 0.5739 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.3582, allocations: 0.6083 MB / 0.5745 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3584, allocations: 43.89 kB / 0.5745 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.3584, allocations: 12 kB / 0.5745 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3587, allocations: 40.08 kB / 0.5746 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3588, allocations: 47.91 kB / 0.5746 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3588, allocations: 11.98 kB / 0.5746 GB, free: 5.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.359, allocations: 135.5 kB / 0.5748 GB, free: 5.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.359, allocations: 0 / 0.5748 GB, free: 5.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.3594, allocations: 83.88 kB / 0.5748 GB, free: 5.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.001445/0.3608, allocations: 399.4 kB / 0.5752 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008048/0.3616, allocations: 291.6 kB / 0.5755 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3616, allocations: 0 / 0.5755 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.362, allocations: 152 kB / 0.5756 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.3624, allocations: 43.86 kB / 0.5757 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.3646, allocations: 0.7616 MB / 0.5764 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.3648, allocations: 146.9 kB / 0.5766 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.3649, allocations: 26.28 kB / 0.5766 GB, free: 3.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.3649, allocations: 23.44 kB / 0.5766 GB, free: 3.914 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3649, allocations: 0 / 0.5766 GB, free: 3.914 MB / 414.1 MB Notification: Performance of Templates: time 0.009927/0.3749, allocations: 4.594 MB / 0.5811 GB, free: 15.35 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/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: 5.427365971729159]