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.001741/0.001741, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001876/0.001876, allocations: 203 kB / 23.72 MB, free: 4.391 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.55/1.55, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.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.2875/0.2875, allocations: 46.94 MB / 360.8 MB, free: 3.918 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.002623/0.002623, allocations: 83.86 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3743, allocations: 66.08 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004888/0.3792, allocations: 2.268 MB / 0.5634 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3811, allocations: 0.8568 MB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.3813, allocations: 7.938 kB / 0.5642 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.3816, allocations: 51.56 kB / 0.5643 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.3819, allocations: 79.41 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.3823, allocations: 155.6 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.3828, allocations: 347.3 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.383, allocations: 57.12 kB / 0.5649 GB, free: 140 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.3833, allocations: 155.6 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.3836, allocations: 151.3 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-05/0.3837, allocations: 28 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.384, allocations: 91.97 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3841, allocations: 75.69 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.3843, allocations: 115.5 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005915/0.3848, allocations: 385 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3849, allocations: 3.938 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3849, allocations: 0 / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.3849, allocations: 0 / 0.5658 GB, free: 15.16 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.001156/0.386, allocations: 0.5207 MB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3861, allocations: 8.031 kB / 0.5664 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.3863, allocations: 36.78 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.3867, allocations: 198.8 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.3868, allocations: 20.88 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.3868, allocations: 20.38 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.3875, allocations: 276.2 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.3875, allocations: 7.953 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.3875, allocations: 8 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.3875, allocations: 4 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.3881, allocations: 233.9 kB / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.3895, allocations: 0.5919 MB / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.3901, allocations: 235.7 kB / 0.5679 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.3904, allocations: 121.2 kB / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.3904, allocations: 7.938 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.3904, allocations: 38.56 kB / 0.5681 GB, free: 12.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.3904, allocations: 0 / 0.5681 GB, free: 12.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003534/0.394, allocations: 1.189 MB / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.394, allocations: 55.41 kB / 0.5693 GB, free: 11.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.3943, allocations: 194.9 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.3943, allocations: 37.69 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3944, allocations: 140.8 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.3946, allocations: 119 kB / 0.5698 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3947, allocations: 73.64 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3949, allocations: 326.8 kB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.3951, allocations: 119.9 kB / 0.5703 GB, free: 10.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.3954, allocations: 156.5 kB / 0.5704 GB, free: 10.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.3959, allocations: 247.9 kB / 0.5707 GB, free: 9.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3959, allocations: 3.938 kB / 0.5707 GB, free: 9.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009234/0.3968, allocations: 410.1 kB / 0.571 GB, free: 9.566 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3969, allocations: 8 kB / 0.5711 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3969, allocations: 4.062 kB / 0.5711 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/0.3974, allocations: 196.6 kB / 0.5712 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.3976, allocations: 51.97 kB / 0.5713 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009531/0.3986, allocations: 0.7381 MB / 0.572 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.3989, allocations: 36.05 kB / 0.5721 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.3989, allocations: 16 kB / 0.5721 GB, free: 8.496 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.0002175/0.3991, allocations: 149.7 kB / 0.5722 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.3992, allocations: 19.86 kB / 0.5722 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.782e-05/0.3993, allocations: 38.64 kB / 0.5723 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.3993, allocations: 4 kB / 0.5723 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3993, allocations: 0 / 0.5723 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.3993, allocations: 3.938 kB / 0.5723 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.401, allocations: 0.8384 MB / 0.5731 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4011, allocations: 0 / 0.5731 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.4013, allocations: 43.97 kB / 0.5731 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003903/0.4017, allocations: 176.6 kB / 0.5733 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.4017, allocations: 16.02 kB / 0.5733 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008375/0.4025, allocations: 0.6889 MB / 0.574 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4025, allocations: 0 / 0.574 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.4038, allocations: 0.6044 MB / 0.5746 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.4039, allocations: 43.89 kB / 0.5746 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.4039, allocations: 12 kB / 0.5746 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.4042, allocations: 40.08 kB / 0.5747 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.4043, allocations: 47.91 kB / 0.5747 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.4044, allocations: 11.98 kB / 0.5747 GB, free: 5.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.4045, allocations: 139.5 kB / 0.5749 GB, free: 5.523 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4045, allocations: 0 / 0.5749 GB, free: 5.523 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003746/0.4049, allocations: 75.94 kB / 0.5749 GB, free: 5.449 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.001509/0.4064, allocations: 392.4 kB / 0.5753 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008075/0.4072, allocations: 291.7 kB / 0.5756 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4072, allocations: 0 / 0.5756 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.4075, allocations: 151.8 kB / 0.5757 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.408, allocations: 43.3 kB / 0.5758 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.4102, allocations: 0.7685 MB / 0.5765 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.4104, allocations: 142.9 kB / 0.5767 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.4105, allocations: 30.27 kB / 0.5767 GB, free: 3.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.4106, allocations: 27.44 kB / 0.5767 GB, free: 3.699 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4106, allocations: 0 / 0.5767 GB, free: 3.699 MB / 414.1 MB Notification: Performance of Templates: time 0.01022/0.4208, allocations: 4.575 MB / 0.5812 GB, free: 15.15 MB / 430.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 -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/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.532951833680272]