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.001438/0.001438, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001586/0.001586, allocations: 211.6 kB / 23.73 MB, free: 4.387 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.579/1.579, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2297/0.2297, allocations: 44.93 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 179] 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.002514/0.002514, allocations: 73.92 kB / 0.4935 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3515, allocations: 65.48 MB / 0.5574 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004215/0.3557, allocations: 2.26 MB / 0.5597 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3574, allocations: 0.8606 MB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.3575, allocations: 7.938 kB / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.3578, allocations: 47.58 kB / 0.5605 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.3581, allocations: 75.39 kB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.3585, allocations: 159.6 kB / 0.5608 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.3589, allocations: 347.3 kB / 0.5611 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.3591, allocations: 61.11 kB / 0.5612 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.3594, allocations: 159.5 kB / 0.5613 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.3597, allocations: 147.4 kB / 0.5615 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.089e-05/0.3598, allocations: 28 kB / 0.5615 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.3599, allocations: 83.97 kB / 0.5616 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.3601, allocations: 83.67 kB / 0.5616 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.3602, allocations: 111.5 kB / 0.5617 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.3608, allocations: 389 kB / 0.5621 GB, free: 2.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3608, allocations: 0 / 0.5621 GB, free: 2.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3608, allocations: 4 kB / 0.5621 GB, free: 2.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.3608, allocations: 3.938 kB / 0.5621 GB, free: 2.676 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.001058/0.3618, allocations: 0.5168 MB / 0.5626 GB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3619, allocations: 15.98 kB / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.3621, allocations: 32.8 kB / 0.5627 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.3625, allocations: 202.8 kB / 0.5629 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.3625, allocations: 16.88 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.3626, allocations: 24.36 kB / 0.5629 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/0.3633, allocations: 268.3 kB / 0.5632 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3634, allocations: 3.953 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.3634, allocations: 8 kB / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.3634, allocations: 11.98 kB / 0.5632 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.3639, allocations: 229.9 kB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3653, allocations: 0.5919 MB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.3659, allocations: 234.4 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.3662, allocations: 125.2 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.3663, allocations: 7.938 kB / 0.5643 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.3663, allocations: 34.56 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/0.3663, allocations: 0 / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003252/0.3696, allocations: 1.189 MB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.3696, allocations: 55.41 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.3698, allocations: 186.9 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.3699, allocations: 37.7 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.37, allocations: 144.8 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.3701, allocations: 123 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.3702, allocations: 69.64 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3704, allocations: 334.8 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.3707, allocations: 112 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.371, allocations: 163.4 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.3715, allocations: 232 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3715, allocations: 7.938 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009054/0.3724, allocations: 418 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3724, allocations: 6.969 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3724, allocations: 4 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005009/0.3729, allocations: 196.6 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.3732, allocations: 60.03 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008985/0.3741, allocations: 0.7355 MB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.3743, allocations: 31.95 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.3744, allocations: 16 kB / 0.5683 GB, free: 12.02 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.0001902/0.3746, allocations: 150.4 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.3746, allocations: 23.86 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.967e-05/0.3747, allocations: 38.66 kB / 0.5685 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3747, allocations: 4 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3747, allocations: 3.938 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.3747, allocations: 3.984 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.3764, allocations: 0.8267 MB / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.3764, allocations: 0 / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.3767, allocations: 52 kB / 0.5694 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003927/0.3771, allocations: 168.7 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.3771, allocations: 11.98 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007522/0.3778, allocations: 0.6929 MB / 0.5703 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3778, allocations: 0 / 0.5703 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.379, allocations: 0.6084 MB / 0.5709 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3791, allocations: 43.89 kB / 0.5709 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.3792, allocations: 8 kB / 0.5709 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.3794, allocations: 35.95 kB / 0.5709 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.3796, allocations: 51.91 kB / 0.571 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.3796, allocations: 11.98 kB / 0.571 GB, free: 9.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.3798, allocations: 139.5 kB / 0.5711 GB, free: 9.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3798, allocations: 4.062 kB / 0.5711 GB, free: 9.051 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.3801, allocations: 75.95 kB / 0.5712 GB, free: 8.977 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.001477/0.3816, allocations: 392.9 kB / 0.5716 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007439/0.3824, allocations: 295.7 kB / 0.5719 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3824, allocations: 0 / 0.5719 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.3827, allocations: 151.8 kB / 0.572 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.3831, allocations: 31.92 kB / 0.572 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.3853, allocations: 0.7734 MB / 0.5728 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.3854, allocations: 146.9 kB / 0.5729 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.956e-05/0.3855, allocations: 18.3 kB / 0.573 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.3856, allocations: 31.41 kB / 0.573 GB, free: 7.254 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3856, allocations: 0 / 0.573 GB, free: 7.254 MB / 414.1 MB Notification: Performance of Templates: time 0.009986/0.3956, allocations: 4.595 MB / 0.5775 GB, free: 2.691 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/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: 5.531432520598173]