Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.008007/0.008007, allocations: 108.3 kB / 21.97 MB, free: 5.18 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.001981/0.001981, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.519/1.519, allocations: 230.5 MB / 258.9 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2332/0.2332, allocations: 46.94 MB / 362.3 MB, free: 4.195 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 79.86 kB / 0.4982 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3211, allocations: 66.07 MB / 0.5627 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003955/0.3251, allocations: 2.392 MB / 0.565 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.3267, allocations: 0.9229 MB / 0.566 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.3268, allocations: 7.938 kB / 0.566 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.3271, allocations: 51.56 kB / 0.566 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.3273, allocations: 79.34 kB / 0.5661 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.3277, allocations: 147.6 kB / 0.5662 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.3281, allocations: 355.2 kB / 0.5666 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3282, allocations: 61.12 kB / 0.5666 GB, free: 236 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.3285, allocations: 159.5 kB / 0.5668 GB, free: 76 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.3288, allocations: 171.3 kB / 0.5669 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.3288, allocations: 28 kB / 0.567 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.329, allocations: 87.92 kB / 0.567 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3291, allocations: 79.8 kB / 0.5671 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.3293, allocations: 131.4 kB / 0.5672 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.3298, allocations: 389 kB / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3298, allocations: 0 / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3298, allocations: 0 / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3298, allocations: 0 / 0.5676 GB, free: 15.21 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.0009644/0.3307, allocations: 0.5244 MB / 0.5681 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3308, allocations: 8.031 kB / 0.5681 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.331, allocations: 40.78 kB / 0.5682 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.3313, allocations: 190.8 kB / 0.5684 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.3314, allocations: 20.88 kB / 0.5684 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/0.3314, allocations: 20.38 kB / 0.5684 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.332, allocations: 272.3 kB / 0.5687 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.332, allocations: 3.953 kB / 0.5687 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.332, allocations: 11.94 kB / 0.5687 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.332, allocations: 8 kB / 0.5687 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/0.3326, allocations: 233.9 kB / 0.5689 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.334, allocations: 0.6927 MB / 0.5696 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.3346, allocations: 226.5 kB / 0.5698 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.3349, allocations: 126.2 kB / 0.5699 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.3349, allocations: 4 kB / 0.5699 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.3349, allocations: 46.42 kB / 0.57 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.3349, allocations: 0 / 0.57 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003058/0.338, allocations: 1.189 MB / 0.5711 GB, free: 11.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.338, allocations: 55.41 kB / 0.5712 GB, free: 11.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.3383, allocations: 203.9 kB / 0.5714 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.3383, allocations: 41.7 kB / 0.5714 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3384, allocations: 132.9 kB / 0.5715 GB, free: 10.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3385, allocations: 134.9 kB / 0.5717 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3387, allocations: 61.69 kB / 0.5717 GB, free: 10.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3388, allocations: 342.7 kB / 0.5721 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.3391, allocations: 123.9 kB / 0.5722 GB, free: 10.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.3394, allocations: 160.8 kB / 0.5723 GB, free: 10.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.3398, allocations: 239.9 kB / 0.5726 GB, free: 9.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3398, allocations: 0 / 0.5726 GB, free: 9.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000893/0.3407, allocations: 422 kB / 0.573 GB, free: 9.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3408, allocations: 8 kB / 0.573 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3408, allocations: 7.875 kB / 0.573 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/0.3412, allocations: 192.7 kB / 0.5732 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.3415, allocations: 51.91 kB / 0.5732 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008198/0.3423, allocations: 0.732 MB / 0.5739 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.3425, allocations: 39.95 kB / 0.574 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.3426, allocations: 8 kB / 0.574 GB, free: 8.41 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.0002009/0.3428, allocations: 147 kB / 0.5741 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.3428, allocations: 27.92 kB / 0.5741 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-05/0.3429, allocations: 38.64 kB / 0.5742 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.3429, allocations: 4 kB / 0.5742 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3429, allocations: 0 / 0.5742 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3429, allocations: 0 / 0.5742 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.3446, allocations: 0.912 MB / 0.5751 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3446, allocations: 0 / 0.5751 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.3449, allocations: 55.91 kB / 0.5751 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/0.3453, allocations: 172.6 kB / 0.5753 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.3453, allocations: 11.98 kB / 0.5753 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007263/0.346, allocations: 0.6929 MB / 0.576 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.346, allocations: 0 / 0.576 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3472, allocations: 0.6075 MB / 0.5766 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.3473, allocations: 59.73 kB / 0.5766 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.3474, allocations: 8 kB / 0.5766 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.3476, allocations: 35.95 kB / 0.5767 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3478, allocations: 55.83 kB / 0.5767 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.3478, allocations: 12 kB / 0.5767 GB, free: 5.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.348, allocations: 156.1 kB / 0.5769 GB, free: 5.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.348, allocations: 4.062 kB / 0.5769 GB, free: 5.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.3483, allocations: 72 kB / 0.5769 GB, free: 5.238 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.001304/0.3496, allocations: 357.5 kB / 0.5773 GB, free: 5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007591/0.3504, allocations: 303.6 kB / 0.5776 GB, free: 4.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3504, allocations: 0 / 0.5776 GB, free: 4.703 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.3507, allocations: 143.9 kB / 0.5777 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3512, allocations: 46.77 kB / 0.5778 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3531, allocations: 0.8063 MB / 0.5785 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.3535, allocations: 0.7564 MB / 0.5793 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.3536, allocations: 27.44 kB / 0.5793 GB, free: 2.863 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3536, allocations: 0 / 0.5793 GB, free: 2.863 MB / 414.1 MB Notification: Performance of Templates: time 0.007557/0.3611, allocations: 4.513 MB / 0.5837 GB, free: 14.34 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.420668385922909]