Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.002089/0.002089, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 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.002145/0.002145, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.535/1.535, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2417/0.2417, allocations: 46.89 MB / 361.1 MB, free: 4.613 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 79.88 kB / 0.4967 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3894, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.005091/0.3944, allocations: 2.388 MB / 0.5635 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.3964, allocations: 0.919 MB / 0.5644 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.3966, allocations: 4 kB / 0.5644 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.397, allocations: 51.56 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.3973, allocations: 79.34 kB / 0.5645 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.3978, allocations: 151.6 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006383/0.3985, allocations: 347.3 kB / 0.565 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.3987, allocations: 72.86 kB / 0.5651 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003684/0.399, allocations: 151.5 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.3994, allocations: 171.3 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.3994, allocations: 28 kB / 0.5654 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.3997, allocations: 87.97 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.3998, allocations: 79.8 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.4, allocations: 135.3 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.4007, allocations: 377.5 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.4007, allocations: 0 / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4007, allocations: 0 / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.4008, allocations: 0 / 0.5661 GB, free: 15.98 MB / 414.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.001644/0.4024, allocations: 0.5999 MB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4025, allocations: 8.031 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.4028, allocations: 36.78 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.4034, allocations: 260.6 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.4034, allocations: 20.94 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/0.4035, allocations: 24.38 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.4042, allocations: 273.1 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.4042, allocations: 7.953 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.4042, allocations: 8 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.4042, allocations: 7.938 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.4048, allocations: 234.1 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.4064, allocations: 0.7291 MB / 0.5682 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006157/0.4071, allocations: 226.5 kB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.4074, allocations: 120.8 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.4074, allocations: 12.05 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.4074, allocations: 42.5 kB / 0.5686 GB, free: 13.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.914e-06/0.4074, allocations: 0 / 0.5686 GB, free: 13.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003637/0.4111, allocations: 1.404 MB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.4111, allocations: 59.41 kB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.4114, allocations: 211.7 kB / 0.5702 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.4114, allocations: 37.69 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.4116, allocations: 132.9 kB / 0.5704 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.4117, allocations: 126.9 kB / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.4119, allocations: 65.69 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.412, allocations: 338.8 kB / 0.5709 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.4123, allocations: 123.9 kB / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.4126, allocations: 159.4 kB / 0.5712 GB, free: 10.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.4131, allocations: 239.9 kB / 0.5714 GB, free: 10.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4131, allocations: 0 / 0.5714 GB, free: 10.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009347/0.414, allocations: 433.9 kB / 0.5718 GB, free: 9.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4141, allocations: 4 kB / 0.5718 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4141, allocations: 3.938 kB / 0.5718 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004826/0.4146, allocations: 192.7 kB / 0.572 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.4148, allocations: 55.97 kB / 0.5721 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008369/0.4156, allocations: 0.7281 MB / 0.5728 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.4159, allocations: 35.98 kB / 0.5728 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.416, allocations: 12 kB / 0.5728 GB, free: 8.691 MB / 414.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.0002182/0.4162, allocations: 154.7 kB / 0.573 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.4162, allocations: 19.86 kB / 0.573 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.513e-05/0.4163, allocations: 42.64 kB / 0.573 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4163, allocations: 0 / 0.573 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4163, allocations: 4 kB / 0.573 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4164, allocations: 0 / 0.573 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.4182, allocations: 0.9363 MB / 0.5739 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4182, allocations: 3.938 kB / 0.5739 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.4184, allocations: 47.91 kB / 0.574 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003888/0.4188, allocations: 176.7 kB / 0.5742 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.4188, allocations: 11.98 kB / 0.5742 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007235/0.4196, allocations: 0.7006 MB / 0.5748 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4196, allocations: 0 / 0.5748 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.4208, allocations: 0.6077 MB / 0.5754 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.421, allocations: 128.9 kB / 0.5756 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/0.4211, allocations: 12 kB / 0.5756 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.4213, allocations: 31.95 kB / 0.5756 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.4215, allocations: 51.86 kB / 0.5757 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.4215, allocations: 20.05 kB / 0.5757 GB, free: 5.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.4217, allocations: 149.5 kB / 0.5758 GB, free: 5.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4217, allocations: 0 / 0.5758 GB, free: 5.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003964/0.4221, allocations: 71.94 kB / 0.5759 GB, free: 5.398 MB / 414.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.001408/0.4235, allocations: 364.6 kB / 0.5762 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008248/0.4243, allocations: 299.4 kB / 0.5765 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.4243, allocations: 0 / 0.5765 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.4247, allocations: 143.8 kB / 0.5767 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.4252, allocations: 44.28 kB / 0.5767 GB, free: 4.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.4273, allocations: 0.7713 MB / 0.5775 GB, free: 3.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.4278, allocations: 0.7564 MB / 0.5782 GB, free: 3.102 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.4279, allocations: 34.28 kB / 0.5782 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.428, allocations: 19.44 kB / 0.5782 GB, free: 3.047 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.428, allocations: 0 / 0.5782 GB, free: 3.047 MB / 414.1 MB Notification: Performance of Templates: time 0.0119/0.4399, allocations: 5.405 MB / 0.5835 GB, free: 13.64 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.489808707963675]