Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00115/0.00115, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001884/0.003033, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001263/0.001263, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001593/0.002856, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.053/1.053, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1863/1.239, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1429/0.1429, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02334/0.1663, allocations: 12.29 MB / 265.9 MB, free: 7.82 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.105e-06/3.105e-06, allocations: 4 kB / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.621e-05, allocations: 6.25 kB / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003986/0.004012, allocations: 2.312 MB / 269.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.005562, allocations: 0.7797 MB / 270.3 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.005721, allocations: 4 kB / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.005893, allocations: 39.59 kB / 270.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.006055, allocations: 71.34 kB / 270.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.006463, allocations: 131.7 kB / 270.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.006838, allocations: 343.2 kB / 270.9 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.006994, allocations: 62.69 kB / 270.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.007336, allocations: 211.6 kB / 271.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.007562, allocations: 127.6 kB / 271.3 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.007607, allocations: 24 kB / 271.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.007793, allocations: 87.88 kB / 271.4 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.007862, allocations: 43.88 kB / 271.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.269e-05/0.007955, allocations: 71.81 kB / 271.5 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.008276, allocations: 235.2 kB / 271.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.00829, allocations: 0 / 271.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008291, allocations: 0 / 271.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.008305, allocations: 0 / 271.7 MB, free: 1.992 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005843/0.008889, allocations: 0.5036 MB / 272.2 MB, free: 1.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.008922, allocations: 8.031 kB / 272.2 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.008974, allocations: 32.91 kB / 272.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.009164, allocations: 177.4 kB / 272.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.009193, allocations: 16.88 kB / 272.4 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.009237, allocations: 28.31 kB / 272.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.00947, allocations: 201.2 kB / 272.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.009482, allocations: 192 / 272.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.009498, allocations: 4.375 kB / 272.7 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.009507, allocations: 11.94 kB / 272.7 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.009637, allocations: 95.42 kB / 272.8 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.01024, allocations: 450.2 kB / 273.2 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.01045, allocations: 158.4 kB / 273.4 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.019e-05/0.01052, allocations: 68.81 kB / 273.4 MB, free: 184 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.01054, allocations: 4 kB / 273.4 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.01056, allocations: 38.56 kB / 273.5 MB, free: 132 kB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.212e-06/0.01056, allocations: 3.938 kB / 273.5 MB, free: 128 kB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.001341/0.01191, allocations: 0.9039 MB / 274.4 MB, free: 15.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.01195, allocations: 55.41 kB / 274.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.01205, allocations: 174.7 kB / 274.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.01208, allocations: 37.7 kB / 274.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.01214, allocations: 132.7 kB / 274.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.0122, allocations: 119 kB / 274.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.01227, allocations: 61.66 kB / 275 MB, free: 14.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.01235, allocations: 334.8 kB / 275.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.01241, allocations: 47.97 kB / 275.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/0.01249, allocations: 99.16 kB / 275.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.01263, allocations: 155 kB / 275.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.01263, allocations: 3.938 kB / 275.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002564/0.01289, allocations: 245.9 kB / 275.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.0129, allocations: 8 kB / 275.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01291, allocations: 64 / 275.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.01316, allocations: 184.7 kB / 276 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.01331, allocations: 63.89 kB / 276.1 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003454/0.01366, allocations: 0.6187 MB / 276.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.01375, allocations: 27.97 kB / 276.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.01377, allocations: 15.92 kB / 276.7 MB, free: 12.71 MB / 282.7 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.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward,bearingFriction1.free) * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 9.313e-05/0.01386, allocations: 132.6 kB / 276.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.0139, allocations: 23.98 kB / 276.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.01394, allocations: 34.64 kB / 276.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01394, allocations: 4 kB / 276.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.01395, allocations: 0 / 276.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01395, allocations: 0 / 276.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006421/0.01459, allocations: 0.5657 MB / 277.5 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.0146, allocations: 0 / 277.5 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.01474, allocations: 63.89 kB / 277.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.01479, allocations: 35.78 kB / 277.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.01499, allocations: 168.7 kB / 277.8 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.01501, allocations: 11.98 kB / 277.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003102/0.01532, allocations: 0.6108 MB / 278.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01532, allocations: 0 / 278.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.01571, allocations: 401.5 kB / 278.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.01574, allocations: 15.98 kB / 278.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.01584, allocations: 24.05 kB / 278.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.01591, allocations: 51.89 kB / 278.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.01593, allocations: 8 kB / 278.9 MB, free: 10.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.638e-05/0.01596, allocations: 40.81 kB / 278.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01596, allocations: 4.031 kB / 278.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.01617, allocations: 80 kB / 279 MB, free: 10.35 MB / 282.7 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/0.01632, allocations: 108.2 kB / 279.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00028/0.0166, allocations: 188.6 kB / 279.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.01661, allocations: 4 kB / 279.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.01673, allocations: 117.1 kB / 279.4 MB, free: 9.926 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.01693, allocations: 64.14 kB / 279.5 MB, free: 9.863 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.01997, allocations: 0.5913 MB / 280.1 MB, free: 9.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.548e-05/0.02002, allocations: 81.06 kB / 280.1 MB, free: 9.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.931e-05/0.02008, allocations: 29.88 kB / 280.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.02017, allocations: 83.36 kB / 280.2 MB, free: 9.031 MB / 282.7 MB Notification: Performance of SimCode: time 1.342e-06/0.02017, allocations: 0 / 280.2 MB, free: 9.031 MB / 282.7 MB Notification: Performance of Templates: time 0.006536/0.02671, allocations: 4.735 MB / 285 MB, free: 4.289 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.949927242472768]