Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 105.4 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 215.3 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2537/0.2537, allocations: 46.91 MB / 359.4 MB, free: 4.863 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 79.86 kB / 0.4946 GB, free: 8.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3603, allocations: 65.99 MB / 0.5591 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004138/0.3645, allocations: 2.399 MB / 0.5614 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3662, allocations: 0.9151 MB / 0.5623 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3663, allocations: 7.938 kB / 0.5623 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.3666, allocations: 51.56 kB / 0.5624 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.3668, allocations: 71.41 kB / 0.5624 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.3672, allocations: 159.5 kB / 0.5626 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.3676, allocations: 347.3 kB / 0.5629 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.3678, allocations: 64.94 kB / 0.563 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.3681, allocations: 151.5 kB / 0.5631 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.3683, allocations: 167.4 kB / 0.5633 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.3684, allocations: 28 kB / 0.5633 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.3685, allocations: 87.92 kB / 0.5634 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3687, allocations: 79.73 kB / 0.5635 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.3688, allocations: 139.4 kB / 0.5636 GB, free: 400 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.3693, allocations: 385 kB / 0.564 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3693, allocations: 0 / 0.564 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3693, allocations: 0 / 0.564 GB, free: 20 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3693, allocations: 3.938 kB / 0.564 GB, free: 16 kB / 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.001059/0.3704, allocations: 0.596 MB / 0.5645 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3704, allocations: 8.031 kB / 0.5646 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.3706, allocations: 36.78 kB / 0.5646 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.371, allocations: 256.6 kB / 0.5648 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.3711, allocations: 20.94 kB / 0.5649 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.3711, allocations: 24.38 kB / 0.5649 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.3717, allocations: 265.1 kB / 0.5651 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.3717, allocations: 7.953 kB / 0.5651 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.3717, allocations: 12 kB / 0.5652 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3717, allocations: 4 kB / 0.5652 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/0.3722, allocations: 238.1 kB / 0.5654 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.3737, allocations: 0.7252 MB / 0.5661 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.3742, allocations: 238.4 kB / 0.5663 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.3745, allocations: 124.8 kB / 0.5664 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.3745, allocations: 4 kB / 0.5664 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.3746, allocations: 34.56 kB / 0.5665 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.3746, allocations: 4 kB / 0.5665 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003411/0.378, allocations: 1.405 MB / 0.5678 GB, free: 11.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.378, allocations: 55.41 kB / 0.5679 GB, free: 11.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.3783, allocations: 219.7 kB / 0.5681 GB, free: 11.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.3784, allocations: 29.7 kB / 0.5681 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3785, allocations: 140.9 kB / 0.5683 GB, free: 11.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.3786, allocations: 126.9 kB / 0.5684 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3787, allocations: 69.64 kB / 0.5685 GB, free: 11.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3789, allocations: 338.8 kB / 0.5688 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.3792, allocations: 124 kB / 0.5689 GB, free: 10.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.3795, allocations: 159.4 kB / 0.5691 GB, free: 10.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.3799, allocations: 236 kB / 0.5693 GB, free: 10.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3799, allocations: 0 / 0.5693 GB, free: 10.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008969/0.3808, allocations: 426.1 kB / 0.5697 GB, free: 9.797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3809, allocations: 4 kB / 0.5697 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3809, allocations: 3.938 kB / 0.5697 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004918/0.3814, allocations: 196.6 kB / 0.5699 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.3816, allocations: 51.97 kB / 0.5699 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008914/0.3825, allocations: 0.7311 MB / 0.5706 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.3828, allocations: 35.98 kB / 0.5707 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.3828, allocations: 12 kB / 0.5707 GB, free: 8.742 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.0002267/0.383, allocations: 158.4 kB / 0.5708 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.3831, allocations: 23.86 kB / 0.5709 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.083e-05/0.3832, allocations: 38.59 kB / 0.5709 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3832, allocations: 4 kB / 0.5709 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.3832, allocations: 3.984 kB / 0.5709 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3832, allocations: 0 / 0.5709 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.385, allocations: 0.9403 MB / 0.5718 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.385, allocations: 0 / 0.5718 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.3853, allocations: 43.97 kB / 0.5719 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/0.3857, allocations: 180.6 kB / 0.572 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.3857, allocations: 12.03 kB / 0.5721 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007766/0.3865, allocations: 0.6928 MB / 0.5727 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3865, allocations: 0 / 0.5727 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.3877, allocations: 0.6116 MB / 0.5733 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.3878, allocations: 132.9 kB / 0.5735 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.3879, allocations: 12 kB / 0.5735 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.3881, allocations: 31.95 kB / 0.5735 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.3883, allocations: 47.92 kB / 0.5735 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.3883, allocations: 12 kB / 0.5736 GB, free: 5.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.3885, allocations: 157.6 kB / 0.5737 GB, free: 5.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3885, allocations: 0 / 0.5737 GB, free: 5.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003664/0.3889, allocations: 71.94 kB / 0.5738 GB, free: 5.441 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.001355/0.3902, allocations: 373.8 kB / 0.5741 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007735/0.391, allocations: 291.5 kB / 0.5744 GB, free: 4.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.391, allocations: 3.938 kB / 0.5744 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.3913, allocations: 147.8 kB / 0.5746 GB, free: 4.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.3918, allocations: 35.98 kB / 0.5746 GB, free: 4.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.3938, allocations: 0.784 MB / 0.5754 GB, free: 3.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.3942, allocations: 0.7564 MB / 0.5761 GB, free: 3.121 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.3943, allocations: 30.28 kB / 0.5761 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.3944, allocations: 23.42 kB / 0.5761 GB, free: 3.066 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3944, allocations: 0 / 0.5761 GB, free: 3.066 MB / 414.1 MB Notification: Performance of Templates: time 0.01051/0.4049, allocations: 5.372 MB / 0.5814 GB, free: 13.7 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.421375901438296]