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.001411/0.001411, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001699/0.001699, allocations: 213.3 kB / 23.73 MB, free: 4.523 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2463/0.2463, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.002085/0.002085, allocations: 59.84 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3627, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004131/0.3669, allocations: 2.252 MB / 0.5633 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3687, allocations: 0.8645 MB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.3688, allocations: 4 kB / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.3691, allocations: 59.5 kB / 0.5642 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.3694, allocations: 71.41 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.3698, allocations: 147.6 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.3702, allocations: 355.2 kB / 0.5647 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.3704, allocations: 69.11 kB / 0.5648 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.3707, allocations: 151.5 kB / 0.5649 GB, free: 204 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.371, allocations: 175.4 kB / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.371, allocations: 24 kB / 0.5651 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.3712, allocations: 87.97 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3714, allocations: 75.75 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.3715, allocations: 119.4 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.372, allocations: 381 kB / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.372, allocations: 0 / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.372, allocations: 0 / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.372, allocations: 0 / 0.5658 GB, free: 15.36 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.001041/0.3731, allocations: 0.5284 MB / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3731, allocations: 8.031 kB / 0.5663 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.3733, allocations: 36.78 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.3738, allocations: 198.8 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.3739, allocations: 16.88 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.3739, allocations: 28.36 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.3746, allocations: 272.3 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.3746, allocations: 3.953 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.3747, allocations: 12 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.3747, allocations: 4 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.3753, allocations: 233.9 kB / 0.567 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.3767, allocations: 0.5919 MB / 0.5676 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.3773, allocations: 226.5 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.3776, allocations: 133.2 kB / 0.568 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3776, allocations: 3.938 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.3776, allocations: 34.56 kB / 0.568 GB, free: 12.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.342e-06/0.3776, allocations: 0 / 0.568 GB, free: 12.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003264/0.3809, allocations: 1.185 MB / 0.5692 GB, free: 11.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3809, allocations: 55.41 kB / 0.5692 GB, free: 11.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.3812, allocations: 190.9 kB / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.3812, allocations: 41.69 kB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3813, allocations: 140.8 kB / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3814, allocations: 123 kB / 0.5697 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3816, allocations: 69.64 kB / 0.5698 GB, free: 11.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3817, allocations: 326.8 kB / 0.5701 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.382, allocations: 119.9 kB / 0.5702 GB, free: 10.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.3823, allocations: 163.4 kB / 0.5703 GB, free: 10.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.3827, allocations: 235.9 kB / 0.5706 GB, free: 10.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.3827, allocations: 3.938 kB / 0.5706 GB, free: 10.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008841/0.3836, allocations: 414.1 kB / 0.571 GB, free: 9.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3837, allocations: 8.062 kB / 0.571 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3837, allocations: 0 / 0.571 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005128/0.3842, allocations: 200.6 kB / 0.5712 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.3844, allocations: 55.91 kB / 0.5712 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008775/0.3853, allocations: 0.7358 MB / 0.5719 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.3856, allocations: 40.05 kB / 0.572 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.3856, allocations: 15.98 kB / 0.572 GB, free: 8.691 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.0001884/0.3858, allocations: 153.2 kB / 0.5721 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.3858, allocations: 19.86 kB / 0.5721 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.626e-05/0.3859, allocations: 38.64 kB / 0.5722 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3859, allocations: 7.938 kB / 0.5722 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3859, allocations: 0 / 0.5722 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3859, allocations: 4 kB / 0.5722 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.3876, allocations: 0.8266 MB / 0.573 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3876, allocations: 0 / 0.573 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.3879, allocations: 47.97 kB / 0.573 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/0.3883, allocations: 176.7 kB / 0.5732 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.3883, allocations: 11.98 kB / 0.5732 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007699/0.3891, allocations: 0.6889 MB / 0.5739 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3891, allocations: 4.031 kB / 0.5739 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.3903, allocations: 0.6044 MB / 0.5745 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3904, allocations: 47.84 kB / 0.5745 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.3905, allocations: 8 kB / 0.5745 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.3908, allocations: 40.08 kB / 0.5746 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.3909, allocations: 47.91 kB / 0.5746 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.3909, allocations: 15.98 kB / 0.5746 GB, free: 5.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.3911, allocations: 135.5 kB / 0.5748 GB, free: 5.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3911, allocations: 0 / 0.5748 GB, free: 5.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.3915, allocations: 79.94 kB / 0.5749 GB, free: 5.645 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.001499/0.393, allocations: 398.3 kB / 0.5752 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007429/0.3937, allocations: 291.7 kB / 0.5755 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3937, allocations: 0 / 0.5755 GB, free: 5.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.394, allocations: 156 kB / 0.5757 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.3945, allocations: 35.92 kB / 0.5757 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.3965, allocations: 0.7654 MB / 0.5764 GB, free: 4.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.3967, allocations: 146.9 kB / 0.5766 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.3968, allocations: 26.28 kB / 0.5766 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.3968, allocations: 19.44 kB / 0.5766 GB, free: 3.93 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3968, allocations: 0 / 0.5766 GB, free: 3.93 MB / 414.1 MB Notification: Performance of Templates: time 0.009779/0.4066, allocations: 4.686 MB / 0.5812 GB, free: 15.27 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.520809394773096]