Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002013/0.002013, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002436/0.002436, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2364/0.2364, allocations: 46.93 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 63.91 kB / 0.4966 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3913, allocations: 66.03 MB / 0.5611 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004395/0.3957, allocations: 2.387 MB / 0.5634 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.3976, allocations: 0.9229 MB / 0.5643 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.3977, allocations: 4 kB / 0.5643 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.398, allocations: 55.5 kB / 0.5644 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.3982, allocations: 71.41 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.3986, allocations: 151.6 kB / 0.5646 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.3991, allocations: 355.3 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.3993, allocations: 65.11 kB / 0.565 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.3996, allocations: 167.5 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.3999, allocations: 159.4 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.3999, allocations: 28 kB / 0.5654 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.4001, allocations: 92 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.4002, allocations: 71.77 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.4004, allocations: 143.3 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.4009, allocations: 381 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4009, allocations: 0 / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4009, allocations: 0 / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.4009, allocations: 4 kB / 0.566 GB, free: 15.4 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.00108/0.402, allocations: 0.5235 MB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.4021, allocations: 12.03 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.4023, allocations: 32.78 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.4027, allocations: 198.8 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.4027, allocations: 20.88 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.4028, allocations: 20.38 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006852/0.4035, allocations: 272.3 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.4035, allocations: 3.953 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.4035, allocations: 12 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.4035, allocations: 4 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.4041, allocations: 233.9 kB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.4056, allocations: 0.6966 MB / 0.568 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.4062, allocations: 234.4 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.4065, allocations: 121.2 kB / 0.5683 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.4065, allocations: 8.062 kB / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.378e-05/0.4066, allocations: 38.5 kB / 0.5684 GB, free: 12.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.4066, allocations: 0 / 0.5684 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003272/0.4099, allocations: 1.193 MB / 0.5695 GB, free: 11.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.4099, allocations: 55.41 kB / 0.5696 GB, free: 11.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.4102, allocations: 203.9 kB / 0.5698 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.4102, allocations: 33.7 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.4104, allocations: 136.9 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.4105, allocations: 130.9 kB / 0.5701 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.4106, allocations: 65.69 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.4109, allocations: 338.8 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.4112, allocations: 116 kB / 0.5706 GB, free: 10.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.4115, allocations: 159.4 kB / 0.5707 GB, free: 10.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.412, allocations: 247.9 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.412, allocations: 0 / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009603/0.4129, allocations: 426 kB / 0.5714 GB, free: 9.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4129, allocations: 4 kB / 0.5714 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.413, allocations: 8 kB / 0.5714 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/0.4135, allocations: 196.7 kB / 0.5716 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.4138, allocations: 51.91 kB / 0.5716 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000891/0.4146, allocations: 0.7352 MB / 0.5723 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.4149, allocations: 35.98 kB / 0.5724 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.4149, allocations: 12 kB / 0.5724 GB, free: 8.598 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.000199/0.4151, allocations: 151.1 kB / 0.5725 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.4152, allocations: 23.8 kB / 0.5725 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.454e-05/0.4153, allocations: 38.66 kB / 0.5726 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4153, allocations: 64 / 0.5726 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4153, allocations: 11.98 kB / 0.5726 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4153, allocations: 0 / 0.5726 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.4171, allocations: 0.8925 MB / 0.5735 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.4171, allocations: 7.969 kB / 0.5735 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.4174, allocations: 55.97 kB / 0.5735 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000389/0.4177, allocations: 168.7 kB / 0.5737 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.4178, allocations: 11.98 kB / 0.5737 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007691/0.4185, allocations: 0.7045 MB / 0.5744 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4185, allocations: 0 / 0.5744 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.4197, allocations: 0.6036 MB / 0.575 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.4199, allocations: 59.69 kB / 0.575 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.4199, allocations: 16.12 kB / 0.575 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.4202, allocations: 31.95 kB / 0.5751 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.4203, allocations: 47.91 kB / 0.5751 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.4204, allocations: 15.98 kB / 0.5751 GB, free: 5.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.4205, allocations: 152.2 kB / 0.5753 GB, free: 5.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4205, allocations: 0 / 0.5753 GB, free: 5.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.4209, allocations: 68 kB / 0.5753 GB, free: 5.438 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.001407/0.4223, allocations: 366.4 kB / 0.5757 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008322/0.4231, allocations: 303.6 kB / 0.576 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4231, allocations: 0 / 0.576 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.4235, allocations: 147.8 kB / 0.5761 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.4239, allocations: 51.75 kB / 0.5762 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.426, allocations: 0.7731 MB / 0.5769 GB, free: 3.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.4264, allocations: 0.7603 MB / 0.5777 GB, free: 3.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.4265, allocations: 22.28 kB / 0.5777 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.4266, allocations: 19.44 kB / 0.5777 GB, free: 3.078 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4266, allocations: 4 kB / 0.5777 GB, free: 3.074 MB / 414.1 MB Notification: Performance of Templates: time 0.01138/0.438, allocations: 5.475 MB / 0.5831 GB, free: 13.61 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.750349916983396]