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.001732/0.001732, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002104/0.002104, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.542/1.542, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2468/0.2468, allocations: 46.97 MB / 361.6 MB, free: 4.055 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.002039/0.002039, allocations: 63.91 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3951, allocations: 66.03 MB / 0.5618 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004137/0.3993, allocations: 2.273 MB / 0.564 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.4009, allocations: 0.8606 MB / 0.5649 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.401, allocations: 4 kB / 0.5649 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.4013, allocations: 55.5 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.4015, allocations: 71.41 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.4019, allocations: 159.6 kB / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.4023, allocations: 343.3 kB / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.4025, allocations: 69.05 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.4028, allocations: 159.5 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.4031, allocations: 167.4 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.4031, allocations: 28 kB / 0.5659 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.4033, allocations: 83.98 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.4034, allocations: 75.75 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.4036, allocations: 127.4 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.4041, allocations: 385 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.4041, allocations: 4 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4041, allocations: 0 / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.4041, allocations: 0 / 0.5665 GB, free: 15.37 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.001004/0.4051, allocations: 0.5167 MB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4051, allocations: 8.031 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.4053, allocations: 32.8 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.4057, allocations: 202.8 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.4058, allocations: 20.88 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.4058, allocations: 20.38 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.4064, allocations: 272.3 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.4064, allocations: 3.953 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.4065, allocations: 12 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.4065, allocations: 4 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.407, allocations: 237.8 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.4084, allocations: 0.5958 MB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.409, allocations: 222.5 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.4092, allocations: 125.2 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.4092, allocations: 8 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.4093, allocations: 38.5 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.312e-06/0.4093, allocations: 3.938 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003124/0.4124, allocations: 1.17 MB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.4125, allocations: 59.39 kB / 0.57 GB, free: 11.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.4127, allocations: 190.9 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.4127, allocations: 37.7 kB / 0.5702 GB, free: 11.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4128, allocations: 140.8 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.413, allocations: 127.1 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.4131, allocations: 69.64 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4133, allocations: 330.8 kB / 0.5708 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.4135, allocations: 116 kB / 0.5709 GB, free: 10.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.4138, allocations: 167.4 kB / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.4143, allocations: 232 kB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4143, allocations: 3.938 kB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009132/0.4152, allocations: 418 kB / 0.5717 GB, free: 9.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4152, allocations: 8 kB / 0.5717 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4152, allocations: 0 / 0.5717 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005049/0.4157, allocations: 196.2 kB / 0.5719 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.416, allocations: 59.89 kB / 0.572 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008725/0.4168, allocations: 0.7319 MB / 0.5727 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.4171, allocations: 43.92 kB / 0.5727 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.4171, allocations: 12 kB / 0.5727 GB, free: 8.723 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.0002004/0.4173, allocations: 150.4 kB / 0.5729 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.4174, allocations: 19.86 kB / 0.5729 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.11e-05/0.4175, allocations: 38.72 kB / 0.5729 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4175, allocations: 4 kB / 0.5729 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4175, allocations: 0 / 0.5729 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4175, allocations: 7.969 kB / 0.5729 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.4192, allocations: 0.8266 MB / 0.5737 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4192, allocations: 3.938 kB / 0.5737 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.4194, allocations: 52 kB / 0.5738 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004115/0.4198, allocations: 172.7 kB / 0.574 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.4199, allocations: 11.98 kB / 0.574 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007412/0.4206, allocations: 0.6889 MB / 0.5746 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4206, allocations: 0 / 0.5746 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.4218, allocations: 0.6123 MB / 0.5752 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.4219, allocations: 47.89 kB / 0.5753 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.422, allocations: 8 kB / 0.5753 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.4223, allocations: 35.95 kB / 0.5753 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.4224, allocations: 47.91 kB / 0.5754 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.4224, allocations: 15.98 kB / 0.5754 GB, free: 5.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.4226, allocations: 143.5 kB / 0.5755 GB, free: 5.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4226, allocations: 0 / 0.5755 GB, free: 5.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.4229, allocations: 75.95 kB / 0.5756 GB, free: 5.668 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.001458/0.4244, allocations: 393.6 kB / 0.576 GB, free: 5.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007878/0.4252, allocations: 295.6 kB / 0.5763 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4252, allocations: 0 / 0.5763 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.4255, allocations: 147.8 kB / 0.5764 GB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.426, allocations: 43.44 kB / 0.5764 GB, free: 4.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.428, allocations: 0.7999 MB / 0.5772 GB, free: 4.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.4281, allocations: 146.8 kB / 0.5774 GB, free: 3.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.4282, allocations: 27.42 kB / 0.5774 GB, free: 3.93 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4282, allocations: 0 / 0.5774 GB, free: 3.93 MB / 414.1 MB Notification: Performance of Templates: time 0.007647/0.4359, allocations: 4.537 MB / 0.5818 GB, free: 15.39 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: 8.651033027999802]