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.00137/0.00137, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.001573/0.001573, allocations: 173.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.9563/0.9563, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.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.1331/0.1331, allocations: 32.38 MB / 270.4 MB, free: 14.97 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 1.583e-06/1.583e-06, allocations: 0 / 408.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.311e-05, allocations: 10.02 kB / 408.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002651/0.002685, allocations: 2.159 MB / 410.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.003738, allocations: 0.7333 MB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.00386, allocations: 7.938 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.004048, allocations: 39.59 kB / 411 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.004159, allocations: 67.41 kB / 411.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.004574, allocations: 143.6 kB / 411.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.004844, allocations: 343.2 kB / 411.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.004993, allocations: 56.58 kB / 411.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.005198, allocations: 199.6 kB / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.005362, allocations: 135.6 kB / 412 MB, free: 13.85 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.005397, allocations: 28 kB / 412 MB, free: 13.82 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.005513, allocations: 71.95 kB / 412 MB, free: 13.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.005588, allocations: 59.81 kB / 412.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.005662, allocations: 103.7 kB / 412.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.006022, allocations: 370.9 kB / 412.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.006026, allocations: 0 / 412.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006027, allocations: 0 / 412.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.006033, allocations: 4 kB / 412.6 MB, free: 13.23 MB / 394.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.0006839/0.006717, allocations: 489.5 kB / 413.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.006764, allocations: 15.97 kB / 413.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.006831, allocations: 28.75 kB / 413.1 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.007149, allocations: 193.4 kB / 413.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.007175, allocations: 16.81 kB / 413.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.007217, allocations: 28.33 kB / 413.3 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.007581, allocations: 260.6 kB / 413.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.007598, allocations: 4.188 kB / 413.6 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.007622, allocations: 8.375 kB / 413.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.007629, allocations: 7.938 kB / 413.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/0.008234, allocations: 241.8 kB / 413.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008728/0.009107, allocations: 0.5883 MB / 414.4 MB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.009499, allocations: 226.4 kB / 414.6 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.009655, allocations: 124.8 kB / 414.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.00968, allocations: 8 kB / 414.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.009707, allocations: 34.56 kB / 414.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.795e-06/0.00971, allocations: 0 / 414.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.001949/0.01166, allocations: 1.227 MB / 416 MB, free: 9.594 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.01169, allocations: 55.41 kB / 416.1 MB, free: 9.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.01182, allocations: 182.8 kB / 416.3 MB, free: 9.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.01184, allocations: 37.69 kB / 416.3 MB, free: 9.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.01191, allocations: 144.8 kB / 416.4 MB, free: 9.152 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.01197, allocations: 119 kB / 416.6 MB, free: 9.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.01205, allocations: 61.69 kB / 416.6 MB, free: 8.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.01214, allocations: 330.8 kB / 416.9 MB, free: 8.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.01229, allocations: 124 kB / 417.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.01246, allocations: 163.4 kB / 417.2 MB, free: 8.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.01273, allocations: 255.2 kB / 417.5 MB, free: 8.082 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01273, allocations: 4 kB / 417.5 MB, free: 8.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004764/0.01321, allocations: 429.8 kB / 417.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01323, allocations: 4 kB / 417.9 MB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01323, allocations: 0 / 417.9 MB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/0.0136, allocations: 236.7 kB / 418.1 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.01374, allocations: 51.91 kB / 418.2 MB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005299/0.01427, allocations: 0.7593 MB / 418.9 MB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.0144, allocations: 39.89 kB / 419 MB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.01442, allocations: 8 kB / 419 MB, free: 6.527 MB / 394.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.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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.01454, allocations: 145.8 kB / 419.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.01457, allocations: 19.86 kB / 419.2 MB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.01463, allocations: 38.62 kB / 419.2 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.01464, allocations: 4 kB / 419.2 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.01464, allocations: 0 / 419.2 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01465, allocations: 8 kB / 419.2 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009596/0.01561, allocations: 0.8386 MB / 420 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.01561, allocations: 3.938 kB / 420 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.01574, allocations: 51.91 kB / 420.1 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.016, allocations: 224.6 kB / 420.3 MB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.01602, allocations: 11.98 kB / 420.3 MB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007395/0.01676, allocations: 0.7007 MB / 421 MB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01676, allocations: 7.922 kB / 421 MB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006847/0.01745, allocations: 0.6459 MB / 421.7 MB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.01753, allocations: 47.89 kB / 421.7 MB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.01756, allocations: 12.12 kB / 421.7 MB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.01768, allocations: 27.97 kB / 421.8 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.01776, allocations: 51.89 kB / 421.8 MB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.01778, allocations: 12.06 kB / 421.8 MB, free: 3.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.156e-05/0.01785, allocations: 136.2 kB / 422 MB, free: 3.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01785, allocations: 0 / 422 MB, free: 3.441 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002578/0.01811, allocations: 76 kB / 422 MB, free: 3.367 MB / 394.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.0001793/0.01829, allocations: 135.1 kB / 422.2 MB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004667/0.01876, allocations: 304 kB / 422.5 MB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01876, allocations: 0 / 422.5 MB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.01894, allocations: 151.8 kB / 422.6 MB, free: 2.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.01922, allocations: 31.92 kB / 422.6 MB, free: 2.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.02041, allocations: 0.7241 MB / 423.4 MB, free: 1.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.43e-05/0.0205, allocations: 138.9 kB / 423.5 MB, free: 1.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.02055, allocations: 24.48 kB / 423.5 MB, free: 1.809 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.02055, allocations: 8 kB / 423.5 MB, free: 1.801 MB / 394.7 MB Notification: Performance of Templates: time 0.004784/0.02533, allocations: 4.169 MB / 427.7 MB, free: 13.63 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.365541595034301]