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.001349/0.001349, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.002139/0.002139, allocations: 165.3 kB / 24.5 MB, free: 3.453 MB / 14.72 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.497/1.497, allocations: 177.1 MB / 204.7 MB, free: 8.938 MB / 190.1 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.2177/0.2177, allocations: 34.26 MB / 295.4 MB, free: 14.5 MB / 286.1 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 0.002388/0.002388, allocations: 79.88 kB / 443.1 MB, free: 6.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3784, allocations: 66.06 MB / 0.4972 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003895/0.3823, allocations: 2.275 MB / 0.4995 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3838, allocations: 0.8537 MB / 0.5003 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.384, allocations: 10.44 kB / 0.5003 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.3843, allocations: 47.64 kB / 0.5004 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.3845, allocations: 78.55 kB / 0.5004 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.3849, allocations: 157.7 kB / 0.5006 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.3852, allocations: 353.5 kB / 0.5009 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.3853, allocations: 59.17 kB / 0.501 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.3856, allocations: 152 kB / 0.5011 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3858, allocations: 149 kB / 0.5013 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.3858, allocations: 25.56 kB / 0.5013 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.386, allocations: 95.22 kB / 0.5014 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.97e-05/0.3861, allocations: 81.09 kB / 0.5015 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.609e-05/0.3862, allocations: 111.3 kB / 0.5016 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.3865, allocations: 389.2 kB / 0.5019 GB, free: 26.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3865, allocations: 0 / 0.5019 GB, free: 26.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3865, allocations: 0 / 0.5019 GB, free: 26.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3865, allocations: 0 / 0.5019 GB, free: 26.92 MB / 446.1 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.0008066/0.3874, allocations: 0.5248 MB / 0.5024 GB, free: 26.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3874, allocations: 13.02 kB / 0.5025 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.3876, allocations: 31.86 kB / 0.5025 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.3879, allocations: 197 kB / 0.5027 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.3879, allocations: 13.81 kB / 0.5027 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.388, allocations: 24.34 kB / 0.5027 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.3884, allocations: 268.5 kB / 0.503 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3884, allocations: 3.953 kB / 0.503 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3885, allocations: 15.19 kB / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3885, allocations: 9.719 kB / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.389, allocations: 234.6 kB / 0.5032 GB, free: 26.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.3901, allocations: 0.5964 MB / 0.5038 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.3906, allocations: 229.9 kB / 0.504 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.3908, allocations: 122.5 kB / 0.5041 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3908, allocations: 3.438 kB / 0.5041 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.3908, allocations: 33.59 kB / 0.5042 GB, free: 25.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.3908, allocations: 0 / 0.5042 GB, free: 25.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002874/0.3937, allocations: 1.197 MB / 0.5053 GB, free: 24.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3938, allocations: 57.47 kB / 0.5054 GB, free: 24.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3939, allocations: 189 kB / 0.5056 GB, free: 24.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.3939, allocations: 40.06 kB / 0.5056 GB, free: 24.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.394, allocations: 140.5 kB / 0.5058 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.5e-05/0.3941, allocations: 123.8 kB / 0.5059 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.3942, allocations: 67.59 kB / 0.5059 GB, free: 24.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.296e-05/0.3943, allocations: 332.3 kB / 0.5063 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.3945, allocations: 116 kB / 0.5064 GB, free: 24.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.3947, allocations: 163.4 kB / 0.5065 GB, free: 23.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.3951, allocations: 236.9 kB / 0.5067 GB, free: 23.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3951, allocations: 6.938 kB / 0.5067 GB, free: 23.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007496/0.3959, allocations: 410.5 kB / 0.5071 GB, free: 23.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.3959, allocations: 11.95 kB / 0.5072 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3959, allocations: 0 / 0.5072 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004437/0.3963, allocations: 201.5 kB / 0.5073 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.3966, allocations: 53.67 kB / 0.5074 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006256/0.3972, allocations: 0.7374 MB / 0.5081 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.3974, allocations: 39.75 kB / 0.5082 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.3975, allocations: 17.09 kB / 0.5082 GB, free: 22.9 MB / 446.1 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.0001308/0.3976, allocations: 148.3 kB / 0.5083 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.3976, allocations: 24.98 kB / 0.5083 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.037e-05/0.3977, allocations: 32.66 kB / 0.5084 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3977, allocations: 3.062 kB / 0.5084 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3977, allocations: 0 / 0.5084 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3977, allocations: 3.562 kB / 0.5084 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.3991, allocations: 0.8376 MB / 0.5092 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3991, allocations: 0 / 0.5092 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.3993, allocations: 43.14 kB / 0.5092 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003284/0.3996, allocations: 178.7 kB / 0.5094 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.3997, allocations: 10.03 kB / 0.5094 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004979/0.4002, allocations: 0.6887 MB / 0.5101 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4002, allocations: 0 / 0.5101 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009796/0.4011, allocations: 0.6051 MB / 0.5107 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4012, allocations: 49.36 kB / 0.5107 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/0.4013, allocations: 6.688 kB / 0.5107 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.4016, allocations: 40.39 kB / 0.5108 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.4017, allocations: 50.08 kB / 0.5108 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.4017, allocations: 9.391 kB / 0.5108 GB, free: 21.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.396e-05/0.4018, allocations: 142 kB / 0.511 GB, free: 21.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4018, allocations: 0 / 0.511 GB, free: 21.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.4022, allocations: 77.45 kB / 0.511 GB, free: 21.03 MB / 446.1 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.001353/0.4035, allocations: 393.2 kB / 0.5114 GB, free: 20.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006738/0.4042, allocations: 296.9 kB / 0.5117 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4042, allocations: 0 / 0.5117 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.4045, allocations: 145.1 kB / 0.5118 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.405, allocations: 44.59 kB / 0.5119 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.4069, allocations: 0.7668 MB / 0.5126 GB, free: 20.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.4071, allocations: 144.3 kB / 0.5128 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.4072, allocations: 21.23 kB / 0.5128 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.4072, allocations: 25.22 kB / 0.5128 GB, free: 20.15 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4072, allocations: 0 / 0.5128 GB, free: 20.15 MB / 446.1 MB Notification: Performance of Templates: time 0.009496/0.4167, allocations: 4.342 MB / 0.517 GB, free: 19.64 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/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.262817527051084]