Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009425/0.0009425, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0008977/0.0008977, allocations: 162.5 kB / 24.99 MB, free: 8.793 MB / 18.57 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 0.9929/0.9929, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2528/0.2528, allocations: 32.81 MB / 294.6 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.886e-05, allocations: 6.25 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002746/0.002765, allocations: 2.401 MB / 378.4 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.003825, allocations: 0.8839 MB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.003925, allocations: 7.938 kB / 379.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.004145, allocations: 47.58 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.004284, allocations: 83.33 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.004545, allocations: 155.5 kB / 379.6 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.004803, allocations: 351.1 kB / 379.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.00494, allocations: 65.12 kB / 380 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.005179, allocations: 219.5 kB / 380.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.005357, allocations: 131.7 kB / 380.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.005394, allocations: 28 kB / 380.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.005508, allocations: 83.92 kB / 380.4 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.644e-05/0.005594, allocations: 83.72 kB / 380.5 MB, free: 468 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.095e-05/0.005675, allocations: 103.7 kB / 380.6 MB, free: 364 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.005967, allocations: 283.1 kB / 380.9 MB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00597, allocations: 0 / 380.9 MB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005971, allocations: 3.938 kB / 380.9 MB, free: 76 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.005975, allocations: 0 / 380.9 MB, free: 76 kB / 346.7 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.0006061/0.006581, allocations: 0.6013 MB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.006612, allocations: 15.98 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.006743, allocations: 60.67 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.006963, allocations: 204.8 kB / 381.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.00699, allocations: 20.88 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.007026, allocations: 20.38 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.007357, allocations: 221.3 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.007372, allocations: 4.172 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.007395, allocations: 12.38 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.007407, allocations: 11.94 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.007642, allocations: 142.8 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.008415, allocations: 0.6107 MB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.008707, allocations: 186.9 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.008825, allocations: 87.66 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.008844, allocations: 8 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.008865, allocations: 33.83 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.008867, allocations: 0 / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001625/0.01049, allocations: 0.9978 MB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.01052, allocations: 55.41 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.01066, allocations: 246 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.01069, allocations: 29.7 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.01077, allocations: 195.5 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.486e-05/0.01083, allocations: 119 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/0.01091, allocations: 75.34 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.01103, allocations: 0.4962 MB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.01115, allocations: 71.94 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.0113, allocations: 126.7 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.01152, allocations: 168 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.01152, allocations: 8 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004457/0.01197, allocations: 336.7 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01198, allocations: 4 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01199, allocations: 4 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.01226, allocations: 159.6 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.01239, allocations: 55.91 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004774/0.01287, allocations: 0.8976 MB / 387.1 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.01297, allocations: 27.97 kB / 387.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.01299, allocations: 11.98 kB / 387.1 MB, free: 9.465 MB / 362.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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.0131, allocations: 180.6 kB / 387.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.01314, allocations: 43.81 kB / 387.4 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.0132, allocations: 34.66 kB / 387.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.0132, allocations: 7.984 kB / 387.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.0132, allocations: 0 / 387.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01321, allocations: 0 / 387.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008499/0.01406, allocations: 0.777 MB / 388.2 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.01406, allocations: 4 kB / 388.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.01419, allocations: 51.91 kB / 388.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/0.01439, allocations: 139.5 kB / 388.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.01441, allocations: 11.98 kB / 388.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004187/0.01483, allocations: 0.8936 MB / 389.3 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01483, allocations: 8 kB / 389.3 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.01539, allocations: 0.5129 MB / 389.8 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.01546, allocations: 55.81 kB / 389.9 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.0155, allocations: 11.94 kB / 389.9 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.0156, allocations: 23.97 kB / 389.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.01569, allocations: 47.91 kB / 389.9 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.0157, allocations: 16.02 kB / 389.9 MB, free: 6.527 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.597e-05/0.01578, allocations: 171.4 kB / 390.1 MB, free: 6.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01578, allocations: 0 / 390.1 MB, free: 6.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.016, allocations: 72 kB / 390.2 MB, free: 6.289 MB / 362.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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007227/0.01672, allocations: 345.4 kB / 390.5 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.01712, allocations: 231.6 kB / 390.7 MB, free: 5.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01712, allocations: 0 / 390.7 MB, free: 5.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.01728, allocations: 128.3 kB / 390.9 MB, free: 5.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.01756, allocations: 54.25 kB / 390.9 MB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.01876, allocations: 0.659 MB / 391.6 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.843e-05/0.01882, allocations: 89.06 kB / 391.7 MB, free: 4.855 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.999e-05/0.01888, allocations: 22.28 kB / 391.7 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.01893, allocations: 24.5 kB / 391.7 MB, free: 4.812 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01893, allocations: 0 / 391.7 MB, free: 4.812 MB / 362.7 MB Notification: Performance of Templates: time 0.006179/0.02511, allocations: 4.364 MB / 396.1 MB, free: 492 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2673209798522294]