Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.001885/0.001885, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.002326/0.002326, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.436/1.436, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2238/0.2238, allocations: 46.9 MB / 361.1 MB, free: 4.645 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.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [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.00221/0.00221, allocations: 75.88 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3454, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01608/0.3615, allocations: 13.12 MB / 0.574 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.3716, allocations: 4.334 MB / 0.5783 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.374, allocations: 83.75 kB / 0.5783 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007765/0.3818, allocations: 3.761 MB / 0.582 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0062/0.388, allocations: 2.015 MB / 0.584 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.3907, allocations: 0.8265 MB / 0.5848 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007288/0.398, allocations: 4.221 MB / 0.5889 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006157/0.4041, allocations: 3.466 MB / 0.5923 GB, free: 5.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003741/0.4079, allocations: 1.854 MB / 0.5941 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00463/0.4125, allocations: 2.64 MB / 0.5967 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.4138, allocations: 412 kB / 0.5971 GB, free: 120 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/0.4166, allocations: 1.17 MB / 0.5982 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003293/0.4199, allocations: 2.255 MB / 0.6004 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003832/0.4238, allocations: 2.591 MB / 0.603 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.4338, allocations: 8.116 MB / 0.6109 GB, free: 1.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4338, allocations: 0 / 0.6109 GB, free: 1.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4338, allocations: 0 / 0.6109 GB, free: 1.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001932/0.434, allocations: 4 kB / 0.6109 GB, free: 1.926 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02162/0.4556, allocations: 6.347 MB / 0.6171 GB, free: 11.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4557, allocations: 8.031 kB / 0.6171 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007826/0.4635, allocations: 1.994 MB / 0.619 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007776/0.4713, allocations: 2.696 MB / 0.6217 GB, free: 6.738 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004136/0.4717, allocations: 291.5 kB / 0.6219 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/0.4734, allocations: 391.8 kB / 0.6223 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02567/0.499, allocations: 12.21 MB / 0.6342 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/0.4992, allocations: 47.58 kB / 0.6343 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005785/0.4997, allocations: 183.8 kB / 0.6345 GB, free: 8.918 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004391/0.5041, allocations: 2.194 MB / 0.6366 GB, free: 6.723 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/0.5288, allocations: 11.2 MB / 0.6475 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06915/0.5979, allocations: 45.96 MB / 0.6924 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/0.6171, allocations: 5.305 MB / 0.6976 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00474/0.6219, allocations: 3.17 MB / 0.7007 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.6231, allocations: 0.6948 MB / 0.7014 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.292e-05/0.6232, allocations: 59.8 kB / 0.7014 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 6.032e-06/0.6232, allocations: 0 / 0.7014 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.07885/0.702, allocations: 27.55 MB / 0.7284 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.7021, allocations: 150.5 kB / 0.7285 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006876/0.709, allocations: 4.411 MB / 0.7328 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000646/0.7097, allocations: 57.7 kB / 0.7329 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2659/0.9756, allocations: 3.518 MB / 0.7363 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/0.9769, allocations: 0.9194 MB / 0.7372 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002613/0.9795, allocations: 1.422 MB / 0.7386 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.9796, allocations: 310.5 kB / 0.7389 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003945/0.9835, allocations: 3.274 MB / 0.7421 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005036/0.9885, allocations: 7.092 MB / 0.749 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009186/0.9977, allocations: 11.16 MB / 0.7599 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.025e-05/0.9978, allocations: 38.53 kB / 0.7599 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01495/1.013, allocations: 11.3 MB / 0.771 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/1.013, allocations: 66.08 kB / 0.771 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.752e-05/1.013, allocations: 136 kB / 0.7712 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/1.015, allocations: 1.125 MB / 0.7723 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005215/1.021, allocations: 1.685 MB / 0.7739 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/1.027, allocations: 6.341 MB / 0.7801 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005005/1.032, allocations: 399 kB / 0.7805 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000768/1.033, allocations: 447.6 kB / 0.7809 GB, free: 120.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * Array equations: 3 * 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): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002926/1.036, allocations: 2.303 MB / 0.7832 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006836/1.036, allocations: 421.2 kB / 0.7836 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008343/1.045, allocations: 6.169 MB / 0.7896 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/1.045, allocations: 11.95 kB / 0.7896 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/1.045, allocations: 4 kB / 0.7896 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.047, allocations: 0.9015 MB / 0.7905 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005724/1.047, allocations: 47.92 kB / 0.7905 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.049, allocations: 169.8 kB / 0.7907 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/1.05, allocations: 185.9 kB / 0.7909 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009594/1.059, allocations: 6.65 MB / 0.7974 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009207/1.068, allocations: 9.528 MB / 0.8067 GB, free: 94.19 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002395/1.071, allocations: 2.397 MB / 0.809 GB, free: 91.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003339/1.074, allocations: 2.766 MB / 0.8117 GB, free: 89.02 MB / 0.5606 GB Notification: Performance of Backend: time 5.71e-07/1.074, allocations: 3.391 kB / 0.8117 GB, free: 89.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.085, allocations: 5.343 MB / 0.8169 GB, free: 83.73 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01533/1.1, allocations: 10.7 MB / 0.8274 GB, free: 72.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.09733/1.197, allocations: 68.54 MB / 0.8943 GB, free: 4.688 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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: 14.76291393628344]