Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001529/0.001529, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001555/0.001555, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 44.91 MB / 359.6 MB, free: 6.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003629/0.003629, allocations: 67.89 kB / 0.4943 GB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3476, allocations: 65.47 MB / 0.5582 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003902/0.3515, allocations: 2.38 MB / 0.5606 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.353, allocations: 0.9229 MB / 0.5615 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.3531, allocations: 7.938 kB / 0.5615 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.3534, allocations: 51.52 kB / 0.5615 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.3536, allocations: 75.39 kB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.3539, allocations: 147.6 kB / 0.5617 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.3543, allocations: 355.2 kB / 0.5621 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.3545, allocations: 65.11 kB / 0.5621 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.3548, allocations: 155.6 kB / 0.5623 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.355, allocations: 167.3 kB / 0.5624 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.3551, allocations: 28 kB / 0.5625 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.3552, allocations: 87.97 kB / 0.5626 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3554, allocations: 79.73 kB / 0.5626 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.3555, allocations: 135.4 kB / 0.5628 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.356, allocations: 381 kB / 0.5631 GB, free: 2.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.356, allocations: 4 kB / 0.5631 GB, free: 2.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.286e-06/0.356, allocations: 4 kB / 0.5631 GB, free: 2.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.356, allocations: 3.938 kB / 0.5631 GB, free: 2.707 MB / 398.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.0009493/0.357, allocations: 0.5128 MB / 0.5636 GB, free: 2.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.357, allocations: 15.98 kB / 0.5636 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.3572, allocations: 40.72 kB / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.3575, allocations: 194.8 kB / 0.5639 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.3575, allocations: 24.86 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.449e-05/0.3576, allocations: 24.38 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.3581, allocations: 272.2 kB / 0.5642 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.3582, allocations: 3.953 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.3582, allocations: 12 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3582, allocations: 4 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.3587, allocations: 237.9 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.3601, allocations: 0.6888 MB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.3607, allocations: 226.5 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.3609, allocations: 133.2 kB / 0.5654 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.361, allocations: 0 / 0.5654 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.361, allocations: 42.44 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.102e-06/0.361, allocations: 0 / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003117/0.3641, allocations: 1.192 MB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3642, allocations: 59.39 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.3644, allocations: 203.9 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.3644, allocations: 33.7 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3646, allocations: 148.8 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.3647, allocations: 126.9 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.3648, allocations: 65.69 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3649, allocations: 334.8 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.3652, allocations: 115.9 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.3655, allocations: 159.4 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.366, allocations: 239.9 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.366, allocations: 0 / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009182/0.3669, allocations: 426 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3669, allocations: 8 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3669, allocations: 7.922 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004936/0.3674, allocations: 188.7 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.3677, allocations: 55.91 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008849/0.3685, allocations: 0.7381 MB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.3688, allocations: 35.98 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.3688, allocations: 16.06 kB / 0.5695 GB, free: 11.9 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.0001831/0.369, allocations: 152.6 kB / 0.5696 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.3691, allocations: 23.84 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.526e-05/0.3692, allocations: 46.66 kB / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3692, allocations: 4 kB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3692, allocations: 0 / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3692, allocations: 3.984 kB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3709, allocations: 0.8964 MB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3709, allocations: 4 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.3712, allocations: 47.91 kB / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003883/0.3715, allocations: 180.6 kB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.3716, allocations: 8 kB / 0.5708 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007159/0.3723, allocations: 0.689 MB / 0.5715 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3723, allocations: 3.938 kB / 0.5715 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3734, allocations: 0.6114 MB / 0.5721 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3736, allocations: 63.78 kB / 0.5722 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.3736, allocations: 12 kB / 0.5722 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.3739, allocations: 31.95 kB / 0.5722 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.374, allocations: 51.84 kB / 0.5722 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.374, allocations: 11.98 kB / 0.5723 GB, free: 8.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.3742, allocations: 156.2 kB / 0.5724 GB, free: 8.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3742, allocations: 0 / 0.5724 GB, free: 8.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.3745, allocations: 72 kB / 0.5725 GB, free: 8.73 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.0013/0.3758, allocations: 361.8 kB / 0.5728 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000735/0.3766, allocations: 295.6 kB / 0.5731 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3766, allocations: 0 / 0.5731 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.3769, allocations: 147.9 kB / 0.5732 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.3773, allocations: 39.84 kB / 0.5733 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.3792, allocations: 0.7986 MB / 0.5741 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.3796, allocations: 0.7602 MB / 0.5748 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.3797, allocations: 27.42 kB / 0.5748 GB, free: 6.379 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3797, allocations: 0 / 0.5748 GB, free: 6.379 MB / 414.1 MB Notification: Performance of Templates: time 0.007405/0.3871, allocations: 4.537 MB / 0.5793 GB, free: 1.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.530421316158026]