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.001036/0.001036, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001216/0.001216, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.9923/0.9923, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.2567/0.2567, allocations: 34.25 MB / 296.1 MB, free: 0.7305 MB / 266.7 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 2.074e-06/2.074e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.175e-05, allocations: 2.312 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003222/0.003244, allocations: 2.427 MB / 327.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.004645, allocations: 0.9001 MB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.004793, allocations: 11.94 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.005113, allocations: 55.5 kB / 328.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.00532, allocations: 75.34 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.005726, allocations: 155.5 kB / 328.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.006042, allocations: 359.1 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.006183, allocations: 63.58 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.006476, allocations: 219.5 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.006656, allocations: 131.6 kB / 329.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.00669, allocations: 28 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.006833, allocations: 87.91 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.006921, allocations: 71.8 kB / 329.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.532e-05/0.006997, allocations: 103.7 kB / 329.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.007297, allocations: 291 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.007299, allocations: 3.984 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.0073, allocations: 0 / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.007304, allocations: 0 / 330.2 MB, free: 2.715 MB / 298.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.0005395/0.007844, allocations: 485.3 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.007879, allocations: 12.03 kB / 330.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.008024, allocations: 48.89 kB / 330.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.008264, allocations: 179.2 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.008292, allocations: 20.88 kB / 330.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.008332, allocations: 28.38 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.008596, allocations: 205.2 kB / 331.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.00861, allocations: 192 / 331.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.008628, allocations: 8.312 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.008636, allocations: 11.94 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.008802, allocations: 97.42 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.009464, allocations: 448.8 kB / 331.7 MB, free: 1.125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.009686, allocations: 159.4 kB / 331.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.87e-05/0.009765, allocations: 62.58 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.009785, allocations: 4 kB / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.009808, allocations: 42.55 kB / 332 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.00981, allocations: 0 / 332 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001343/0.01115, allocations: 0.8663 MB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.01118, allocations: 59.39 kB / 332.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.01129, allocations: 184.4 kB / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.01132, allocations: 41.69 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.01138, allocations: 132.7 kB / 333.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.01144, allocations: 123 kB / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.01152, allocations: 69.61 kB / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.01161, allocations: 334.8 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.01168, allocations: 43.98 kB / 333.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.632e-05/0.01176, allocations: 92.02 kB / 333.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.01191, allocations: 159.9 kB / 334.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01191, allocations: 0 / 334.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002939/0.0122, allocations: 234.1 kB / 334.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.01221, allocations: 4 kB / 334.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01222, allocations: 0 / 334.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.01244, allocations: 148.8 kB / 334.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.01258, allocations: 59.89 kB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003431/0.01293, allocations: 0.6223 MB / 335.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.131e-05/0.01302, allocations: 23.97 kB / 335.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.01303, allocations: 19.92 kB / 335.2 MB, free: 13.5 MB / 314.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,13)} Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/0.01312, allocations: 136.9 kB / 335.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.01315, allocations: 23.98 kB / 335.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.01319, allocations: 38.58 kB / 335.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.0132, allocations: 4 kB / 335.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.0132, allocations: 0 / 335.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.0132, allocations: 0 / 335.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.01382, allocations: 0.5425 MB / 335.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01382, allocations: 3.938 kB / 335.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.01396, allocations: 59.97 kB / 336 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/0.01413, allocations: 136.7 kB / 336.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01415, allocations: 8 kB / 336.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002953/0.01444, allocations: 0.6007 MB / 336.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01444, allocations: 4 kB / 336.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.0148, allocations: 368.9 kB / 337.1 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.01486, allocations: 31.84 kB / 337.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.01489, allocations: 8 kB / 337.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.01498, allocations: 35.97 kB / 337.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.01506, allocations: 47.84 kB / 337.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.01507, allocations: 11.98 kB / 337.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.036e-05/0.01511, allocations: 49.03 kB / 337.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01511, allocations: 0 / 337.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.0153, allocations: 68 kB / 337.3 MB, free: 11.23 MB / 314.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.000947/0.01624, allocations: 451.1 kB / 337.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.01654, allocations: 197.1 kB / 338 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01654, allocations: 0 / 338 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.01666, allocations: 97.59 kB / 338 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.01687, allocations: 61.33 kB / 338.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009894/0.01786, allocations: 0.6291 MB / 338.7 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.999e-05/0.01791, allocations: 85.06 kB / 338.8 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.78e-05/0.01798, allocations: 34.39 kB / 338.9 MB, free: 9.867 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.01807, allocations: 83.36 kB / 338.9 MB, free: 9.785 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01807, allocations: 0 / 338.9 MB, free: 9.785 MB / 314.7 MB Notification: Performance of Templates: time 0.006293/0.02436, allocations: 4.78 MB / 343.7 MB, free: 5.047 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9693329730071127]