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.001497/0.001497, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001437/0.001437, allocations: 210.6 kB / 24.47 MB, free: 3.977 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.428/1.428, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.228/0.228, allocations: 46.97 MB / 361.6 MB, free: 4.039 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.002057/0.002057, allocations: 63.91 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3499, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004544/0.3544, allocations: 2.264 MB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.3562, allocations: 0.8645 MB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.3563, allocations: 4 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.3566, allocations: 55.5 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.3569, allocations: 71.41 kB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.3573, allocations: 151.6 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.3577, allocations: 355.2 kB / 0.5655 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3578, allocations: 73.11 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.3581, allocations: 159.5 kB / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.3584, allocations: 167.4 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.412e-05/0.3584, allocations: 24.05 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.3586, allocations: 87.92 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.3587, allocations: 71.81 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.3589, allocations: 119.4 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.3595, allocations: 389 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3595, allocations: 0 / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3595, allocations: 0 / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3595, allocations: 4 kB / 0.5665 GB, free: 15.34 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.001146/0.3606, allocations: 0.5168 MB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3607, allocations: 8.031 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.3609, allocations: 32.8 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.3613, allocations: 202.8 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.3613, allocations: 16.88 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.3614, allocations: 24.38 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.3619, allocations: 268.3 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.3619, allocations: 7.891 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.362, allocations: 12 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.362, allocations: 4 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.3625, allocations: 237.8 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.3639, allocations: 0.5958 MB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.3645, allocations: 222.5 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.3648, allocations: 129.2 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.3648, allocations: 0 / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3648, allocations: 38.5 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.122e-06/0.3648, allocations: 4 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003263/0.3681, allocations: 1.178 MB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.3682, allocations: 55.39 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.3684, allocations: 190.9 kB / 0.5701 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.3685, allocations: 37.7 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3686, allocations: 140.8 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.3687, allocations: 123 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.3688, allocations: 73.64 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.369, allocations: 330.8 kB / 0.5708 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.3693, allocations: 116 kB / 0.5709 GB, free: 10.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.3696, allocations: 163.4 kB / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.37, allocations: 236 kB / 0.5713 GB, free: 10.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.37, allocations: 7.875 kB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008918/0.3709, allocations: 422.1 kB / 0.5717 GB, free: 9.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.371, allocations: 7.938 kB / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.371, allocations: 0 / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/0.3714, allocations: 192.7 kB / 0.5719 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.3717, allocations: 59.89 kB / 0.572 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009128/0.3726, allocations: 0.7358 MB / 0.5727 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.3728, allocations: 35.98 kB / 0.5727 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.3729, allocations: 12 kB / 0.5727 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.0001972/0.3731, allocations: 157.5 kB / 0.5729 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.3731, allocations: 19.86 kB / 0.5729 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.815e-05/0.3732, allocations: 34.66 kB / 0.5729 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3732, allocations: 4.062 kB / 0.5729 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3732, allocations: 4 kB / 0.5729 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3732, allocations: 7.984 kB / 0.5729 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.3749, allocations: 0.8187 MB / 0.5737 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3749, allocations: 0 / 0.5737 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.3751, allocations: 52.03 kB / 0.5738 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.3755, allocations: 176.7 kB / 0.574 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.3756, allocations: 11.98 kB / 0.574 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000813/0.3764, allocations: 0.685 MB / 0.5746 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3764, allocations: 4.031 kB / 0.5746 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.3776, allocations: 0.6084 MB / 0.5752 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3777, allocations: 43.86 kB / 0.5753 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.3778, allocations: 8 kB / 0.5753 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.378, allocations: 35.95 kB / 0.5753 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.3781, allocations: 47.91 kB / 0.5754 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.3782, allocations: 15.98 kB / 0.5754 GB, free: 5.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.3783, allocations: 143.4 kB / 0.5755 GB, free: 5.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3783, allocations: 0 / 0.5755 GB, free: 5.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003628/0.3787, allocations: 80.02 kB / 0.5756 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.001407/0.3801, allocations: 397.4 kB / 0.576 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008096/0.3809, allocations: 299.7 kB / 0.5763 GB, free: 5.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3809, allocations: 0 / 0.5763 GB, free: 5.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.3812, allocations: 151.8 kB / 0.5764 GB, free: 4.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.3817, allocations: 39.86 kB / 0.5764 GB, free: 4.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.3836, allocations: 0.7709 MB / 0.5772 GB, free: 4.125 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.3838, allocations: 142.9 kB / 0.5773 GB, free: 3.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.341e-05/0.3839, allocations: 22.3 kB / 0.5773 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.214e-05/0.3839, allocations: 23.42 kB / 0.5774 GB, free: 3.922 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3839, allocations: 0 / 0.5774 GB, free: 3.922 MB / 414.1 MB Notification: Performance of Templates: time 0.009979/0.3939, allocations: 4.674 MB / 0.5819 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 -s cvode -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.145212233008351]