Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.002316/0.002316, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002889/0.002889, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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.585/1.585, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4179/0.4179, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.465e-05, allocations: 4.984 kB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004601/0.004636, allocations: 2.374 MB / 379.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.006429, allocations: 0.8802 MB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.006566, allocations: 11.94 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.006875, allocations: 47.58 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.0071, allocations: 79.33 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.007521, allocations: 151.5 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.008016, allocations: 359.1 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.008196, allocations: 53.14 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.00866, allocations: 223.5 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.008929, allocations: 135.7 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.343e-05/0.008993, allocations: 24 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.009182, allocations: 87.91 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.00932, allocations: 75.73 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.009478, allocations: 103.7 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005913/0.01007, allocations: 402.7 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01007, allocations: 0 / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01008, allocations: 0 / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.01008, allocations: 0 / 382.2 MB, free: 13.93 MB / 362.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.001147/0.01123, allocations: 0.6125 MB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.01127, allocations: 12.03 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.01153, allocations: 52.75 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.01193, allocations: 204.8 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.01198, allocations: 20.88 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.01205, allocations: 24.38 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/0.01267, allocations: 264.5 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.01269, allocations: 192 / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.01273, allocations: 8.375 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.01274, allocations: 7.938 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/0.01336, allocations: 221.9 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.01514, allocations: 0.6818 MB / 384.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.01573, allocations: 230.9 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.01601, allocations: 119.7 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.01605, allocations: 8.422 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.01609, allocations: 37.39 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.202e-06/0.01609, allocations: 0 / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.00333/0.01942, allocations: 1.178 MB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.01948, allocations: 55.41 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.01977, allocations: 258 kB / 386.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.01982, allocations: 37.7 kB / 386.2 MB, free: 9.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.01998, allocations: 195.4 kB / 386.4 MB, free: 9.508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.02012, allocations: 127 kB / 386.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.02029, allocations: 83.34 kB / 386.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003118/0.0206, allocations: 0.5079 MB / 387.1 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.02088, allocations: 116 kB / 387.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.02122, allocations: 179.7 kB / 387.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007556/0.02198, allocations: 252 kB / 387.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.02198, allocations: 8 kB / 387.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009941/0.02298, allocations: 440.7 kB / 388 MB, free: 7.758 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.023, allocations: 8 kB / 388 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.02301, allocations: 0 / 388 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/0.02354, allocations: 199.6 kB / 388.2 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.02379, allocations: 51.91 kB / 388.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.02485, allocations: 0.9984 MB / 389.3 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.02507, allocations: 19.98 kB / 389.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.02512, allocations: 15.98 kB / 389.3 MB, free: 6.438 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.0002096/0.02533, allocations: 200.7 kB / 389.5 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.02542, allocations: 39.83 kB / 389.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.02552, allocations: 34.64 kB / 389.6 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.02553, allocations: 4 kB / 389.6 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.02554, allocations: 0 / 389.6 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.02554, allocations: 0 / 389.6 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.02744, allocations: 0.9098 MB / 390.5 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.02744, allocations: 32 / 390.5 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.02768, allocations: 55.91 kB / 390.6 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004289/0.02811, allocations: 175.5 kB / 390.7 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.02814, allocations: 12.05 kB / 390.7 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009711/0.02911, allocations: 0.9483 MB / 391.7 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.02912, allocations: 11.88 kB / 391.7 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.0304, allocations: 0.6497 MB / 392.4 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.03054, allocations: 47.81 kB / 392.4 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.0306, allocations: 15.94 kB / 392.4 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.03083, allocations: 23.97 kB / 392.4 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.03097, allocations: 51.89 kB / 392.5 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.031, allocations: 12 kB / 392.5 MB, free: 3.125 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001782/0.03118, allocations: 183.4 kB / 392.7 MB, free: 2.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03118, allocations: 4.031 kB / 392.7 MB, free: 2.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.03154, allocations: 68 kB / 392.8 MB, free: 2.875 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.002542/0.03409, allocations: 376.3 kB / 393.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008684/0.03495, allocations: 319.5 kB / 393.4 MB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.03496, allocations: 0 / 393.4 MB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.03533, allocations: 163.5 kB / 393.6 MB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.03577, allocations: 52.03 kB / 393.6 MB, free: 2.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.03762, allocations: 0.6873 MB / 394.3 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.0378, allocations: 146.9 kB / 394.5 MB, free: 1.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000115/0.03791, allocations: 34.2 kB / 394.5 MB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.03799, allocations: 20.5 kB / 394.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03799, allocations: 0 / 394.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of Templates: time 0.01023/0.04822, allocations: 4.354 MB / 398.9 MB, free: 12.82 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.1624119859188795]