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.001346/0.001346, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001436/0.001436, allocations: 159.2 kB / 24.5 MB, free: 3.715 MB / 14.72 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 1.518/1.518, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] 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.2065/0.2065, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 67.91 kB / 440.5 MB, free: 9.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3984, allocations: 65.45 MB / 0.4941 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004032/0.4024, allocations: 2.266 MB / 0.4963 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.4038, allocations: 0.8638 MB / 0.4972 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.4039, allocations: 10.38 kB / 0.4972 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.4042, allocations: 43.3 kB / 0.4972 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.4044, allocations: 77.61 kB / 0.4973 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.4047, allocations: 156.8 kB / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.405, allocations: 348.9 kB / 0.4978 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.4052, allocations: 61.58 kB / 0.4979 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.4054, allocations: 163.7 kB / 0.498 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.4056, allocations: 147.7 kB / 0.4982 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.4057, allocations: 28 kB / 0.4982 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.4059, allocations: 86.2 kB / 0.4983 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.406, allocations: 69.27 kB / 0.4983 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.4061, allocations: 119.5 kB / 0.4984 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.4065, allocations: 383.4 kB / 0.4988 GB, free: 28.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4065, allocations: 4 kB / 0.4988 GB, free: 28.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4065, allocations: 0 / 0.4988 GB, free: 28.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.4065, allocations: 4 kB / 0.4988 GB, free: 28.53 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.0008633/0.4074, allocations: 0.5146 MB / 0.4993 GB, free: 28.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.4074, allocations: 13.64 kB / 0.4993 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.4076, allocations: 34.48 kB / 0.4994 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.4079, allocations: 205.4 kB / 0.4996 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.4079, allocations: 21.89 kB / 0.4996 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.408, allocations: 24.12 kB / 0.4996 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.4085, allocations: 267.4 kB / 0.4999 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.4085, allocations: 11.14 kB / 0.4999 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.4085, allocations: 8 kB / 0.4999 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4085, allocations: 6.281 kB / 0.4999 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.409, allocations: 229.1 kB / 0.5001 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.4101, allocations: 0.5972 MB / 0.5007 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.4107, allocations: 232.1 kB / 0.5009 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.4109, allocations: 122.3 kB / 0.501 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.411, allocations: 3.156 kB / 0.501 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.411, allocations: 37.72 kB / 0.5011 GB, free: 27.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.411, allocations: 4 kB / 0.5011 GB, free: 27.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002969/0.4139, allocations: 1.192 MB / 0.5022 GB, free: 26.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.414, allocations: 54.62 kB / 0.5023 GB, free: 26.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.4142, allocations: 191.9 kB / 0.5025 GB, free: 26.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.4142, allocations: 33.02 kB / 0.5025 GB, free: 26.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.4143, allocations: 143.8 kB / 0.5026 GB, free: 26.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/0.4143, allocations: 117 kB / 0.5027 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4144, allocations: 73.62 kB / 0.5028 GB, free: 26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.4145, allocations: 335.8 kB / 0.5031 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.4147, allocations: 115.7 kB / 0.5032 GB, free: 25.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.415, allocations: 160.5 kB / 0.5034 GB, free: 25.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.4154, allocations: 239.1 kB / 0.5036 GB, free: 25.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4154, allocations: 7.875 kB / 0.5036 GB, free: 25.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00076/0.4161, allocations: 416.5 kB / 0.504 GB, free: 25.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4162, allocations: 5.438 kB / 0.504 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4162, allocations: 3.984 kB / 0.504 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004292/0.4166, allocations: 198.7 kB / 0.5042 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.4168, allocations: 48.81 kB / 0.5043 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000584/0.4174, allocations: 0.7402 MB / 0.505 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.4176, allocations: 36.64 kB / 0.505 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.4177, allocations: 12.5 kB / 0.505 GB, free: 24.52 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.0001568/0.4178, allocations: 148.8 kB / 0.5052 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.4179, allocations: 20.89 kB / 0.5052 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.052e-05/0.418, allocations: 40.17 kB / 0.5052 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.418, allocations: 7.125 kB / 0.5053 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.418, allocations: 4.062 kB / 0.5053 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.418, allocations: 0 / 0.5053 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.4194, allocations: 0.8239 MB / 0.5061 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4194, allocations: 0 / 0.5061 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.4196, allocations: 48.88 kB / 0.5061 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003114/0.4199, allocations: 178.1 kB / 0.5063 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.42, allocations: 14.48 kB / 0.5063 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004893/0.4205, allocations: 0.687 MB / 0.507 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4205, allocations: 0 / 0.507 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.4215, allocations: 0.6017 MB / 0.5076 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.4216, allocations: 50.03 kB / 0.5076 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.4216, allocations: 11.22 kB / 0.5076 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.4219, allocations: 33.41 kB / 0.5076 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.422, allocations: 47.73 kB / 0.5077 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.4221, allocations: 13.47 kB / 0.5077 GB, free: 22.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.4222, allocations: 144.7 kB / 0.5078 GB, free: 22.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4222, allocations: 0 / 0.5078 GB, free: 22.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003818/0.4226, allocations: 79.78 kB / 0.5079 GB, free: 22.64 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.001409/0.424, allocations: 391.8 kB / 0.5083 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006921/0.4247, allocations: 301.1 kB / 0.5086 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4247, allocations: 0 / 0.5086 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.425, allocations: 143.9 kB / 0.5087 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.4254, allocations: 47.83 kB / 0.5088 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.4273, allocations: 0.7703 MB / 0.5095 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.4274, allocations: 146 kB / 0.5097 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.531e-05/0.4275, allocations: 25.31 kB / 0.5097 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.743e-05/0.4276, allocations: 24.05 kB / 0.5097 GB, free: 21.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4276, allocations: 0 / 0.5097 GB, free: 21.78 MB / 446.1 MB Notification: Performance of Templates: time 0.009737/0.4374, allocations: 4.34 MB / 0.5139 GB, free: 21.27 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.367046652012505]