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.001702/0.001702, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002139/0.002139, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.466/1.466, allocations: 230.6 MB / 258.3 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.2538/0.2538, allocations: 46.97 MB / 361.6 MB, free: 4.027 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.002029/0.002029, allocations: 63.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004087/0.3368, allocations: 2.252 MB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3383, allocations: 0.8607 MB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.3384, allocations: 7.938 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.3387, allocations: 55.45 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.3389, allocations: 79.39 kB / 0.565 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.3392, allocations: 143.6 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.3396, allocations: 359.3 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3398, allocations: 57.12 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.3401, allocations: 167.5 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3403, allocations: 163.4 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.192e-05/0.3404, allocations: 28.05 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.3405, allocations: 91.91 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3407, allocations: 71.75 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.3408, allocations: 111.5 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.3413, allocations: 381 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3413, allocations: 3.938 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3413, allocations: 8 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3413, allocations: 0 / 0.5665 GB, free: 15.35 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.0009945/0.3423, allocations: 0.5245 MB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3424, allocations: 8.031 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.3426, allocations: 36.78 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.343, allocations: 194.8 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.343, allocations: 16.88 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.3431, allocations: 24.38 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/0.3437, allocations: 276.2 kB / 0.5676 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3437, allocations: 3.953 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.3437, allocations: 8 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.3438, allocations: 8 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005382/0.3443, allocations: 225.9 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.3456, allocations: 0.5958 MB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.3462, allocations: 226.5 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.3465, allocations: 125.1 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3465, allocations: 11.98 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3465, allocations: 38.5 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.3465, allocations: 0 / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003209/0.3497, allocations: 1.182 MB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.3498, allocations: 55.41 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.35, allocations: 190.9 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.3501, allocations: 37.69 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3502, allocations: 144.8 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.3503, allocations: 127 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.3504, allocations: 65.64 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3506, allocations: 334.8 kB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.3508, allocations: 119.9 kB / 0.5709 GB, free: 10.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.3511, allocations: 155.4 kB / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.3516, allocations: 239.9 kB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3516, allocations: 4 kB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008853/0.3525, allocations: 418 kB / 0.5717 GB, free: 9.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3525, allocations: 4 kB / 0.5717 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3525, allocations: 4 kB / 0.5717 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/0.353, allocations: 189.3 kB / 0.5719 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.3533, allocations: 63.91 kB / 0.572 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00082/0.3541, allocations: 0.735 MB / 0.5727 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.3544, allocations: 36.02 kB / 0.5727 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.3544, allocations: 16 kB / 0.5727 GB, free: 8.695 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.0001657/0.3546, allocations: 142.4 kB / 0.5729 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.3546, allocations: 27.8 kB / 0.5729 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/0.3547, allocations: 42.7 kB / 0.5729 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3547, allocations: 0 / 0.5729 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3547, allocations: 0 / 0.5729 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.3549, allocations: 43.86 kB / 0.573 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.3549, allocations: 12 kB / 0.573 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.3552, allocations: 31.95 kB / 0.573 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.3553, allocations: 55.83 kB / 0.5731 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001234/0.3565, allocations: 485.3 kB / 0.5735 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009878/0.3575, allocations: 0.5874 MB / 0.5741 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002544/0.3578, allocations: 116.1 kB / 0.5742 GB, free: 7.137 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.3579, allocations: 139.1 kB / 0.5744 GB, free: 7 MB / 414.1 MB Notification: Performance of Backend: time 6.31e-07/0.3579, allocations: 4 kB / 0.5744 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.3608, allocations: 0.7189 MB / 0.5751 GB, free: 6.523 MB / 414.1 MB Notification: Performance of SimCode: time 0.001335/0.3621, allocations: 1.098 MB / 0.5761 GB, free: 5.371 MB / 414.1 MB Notification: Performance of Templates: time 0.01065/0.3728, allocations: 5.495 MB / 0.5815 GB, free: 15.9 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/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: 5.214136939001037]