Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00187/0.00187, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.001969/0.001969, allocations: 164.8 kB / 24.27 MB, free: 152 kB / 18.57 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.585/1.585, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.369/0.369, allocations: 34.24 MB / 295.2 MB, free: 0.6328 MB / 266.7 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.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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.017e-05, allocations: 6.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01838/0.01841, allocations: 12.59 MB / 389.8 MB, free: 6.242 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.02883, allocations: 4.213 MB / 394 MB, free: 2.016 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.03096, allocations: 99.56 kB / 394.1 MB, free: 1.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008634/0.03959, allocations: 3.968 MB / 398.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006198/0.04579, allocations: 2.103 MB / 400.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.04808, allocations: 0.8887 MB / 401.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007137/0.05521, allocations: 4.643 MB / 405.7 MB, free: 6.281 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006471/0.06168, allocations: 4.059 MB / 409.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005082/0.06677, allocations: 2.807 MB / 412.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005031/0.0718, allocations: 2.623 MB / 415.2 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.07286, allocations: 420 kB / 415.6 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.07601, allocations: 1.084 MB / 416.7 MB, free: 11.21 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003801/0.07981, allocations: 2.377 MB / 419.1 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003082/0.08289, allocations: 1.538 MB / 420.6 MB, free: 7.285 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.09535, allocations: 8.158 MB / 428.8 MB, free: 15.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.09536, allocations: 0 / 428.8 MB, free: 15.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.09536, allocations: 0 / 428.8 MB, free: 15.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003321/0.09569, allocations: 0 / 428.8 MB, free: 15.1 MB / 410.7 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.02618/0.1219, allocations: 7.306 MB / 436.1 MB, free: 7.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1219, allocations: 12.03 kB / 436.1 MB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009266/0.1312, allocations: 2.513 MB / 438.6 MB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008098/0.1393, allocations: 2.454 MB / 441.1 MB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/0.1396, allocations: 295.7 kB / 441.4 MB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/0.1411, allocations: 395.8 kB / 441.7 MB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1992/0.3403, allocations: 7.82 MB / 449.6 MB, free: 92.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001437/0.3404, allocations: 46.42 kB / 449.6 MB, free: 92.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005082/0.3409, allocations: 186.9 kB / 449.8 MB, free: 92.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003662/0.3446, allocations: 2.191 MB / 452 MB, free: 92.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/0.3607, allocations: 4.742 MB / 456.7 MB, free: 91.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05628/0.417, allocations: 51.32 MB / 0.4961 GB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01613/0.4331, allocations: 2.958 MB / 0.499 GB, free: 51.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002314/0.4354, allocations: 1.017 MB / 0.5 GB, free: 51.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008536/0.4363, allocations: 256.1 kB / 0.5003 GB, free: 51.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.4363, allocations: 59.3 kB / 0.5003 GB, free: 51.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=203): time 4.93e-06/0.4363, allocations: 0 / 0.5003 GB, free: 51.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.06402/0.5004, allocations: 17.9 MB / 0.5178 GB, free: 39.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.5004, allocations: 160.4 kB / 0.518 GB, free: 39.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/0.5052, allocations: 4.505 MB / 0.5224 GB, free: 34.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005576/0.5057, allocations: 65.7 kB / 0.5224 GB, free: 34.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.5074, allocations: 3.889 MB / 0.5262 GB, free: 30.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.5084, allocations: 1.016 MB / 0.5272 GB, free: 29.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002047/0.5105, allocations: 1.797 MB / 0.529 GB, free: 28.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7e-05/0.5105, allocations: 480.8 kB / 0.5294 GB, free: 27.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.5128, allocations: 1.051 MB / 0.5304 GB, free: 26.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003915/0.5167, allocations: 6.897 MB / 0.5372 GB, free: 17.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007667/0.5244, allocations: 8.785 MB / 0.5458 GB, free: 5.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001512/0.5245, allocations: 40 kB / 0.5458 GB, free: 5.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01488/0.5394, allocations: 6.897 MB / 0.5525 GB, free: 14.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.5395, allocations: 64 kB / 0.5526 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002012/0.5397, allocations: 136.8 kB / 0.5527 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/0.5425, allocations: 0.6773 MB / 0.5534 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007013/0.5495, allocations: 1.719 MB / 0.5551 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006519/0.556, allocations: 3.462 MB / 0.5584 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005734/0.5617, allocations: 433.6 kB / 0.5589 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/0.5629, allocations: 459.8 kB / 0.5593 GB, free: 7.672 MB / 426.7 MB 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.002689/0.5656, allocations: 0.8075 MB / 0.5601 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/0.5668, allocations: 447.6 kB / 0.5605 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008448/0.5753, allocations: 2.963 MB / 0.5634 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/0.5753, allocations: 24 kB / 0.5634 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.5753, allocations: 7.625 kB / 0.5634 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/0.5754, allocations: 11.95 kB / 0.5635 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02173/0.5971, allocations: 8.608 MB / 0.5719 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.5971, allocations: 4 kB / 0.5719 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00308/0.6002, allocations: 0.5773 MB / 0.5724 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002492/0.6027, allocations: 0.5166 MB / 0.5729 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003744/0.603, allocations: 99.89 kB / 0.573 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005923/0.609, allocations: 3.21 MB / 0.5762 GB, free: 6.199 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.609, allocations: 8 kB / 0.5762 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.6203, allocations: 4.431 MB / 0.5805 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002812/0.6231, allocations: 0.7511 MB / 0.5812 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006579/0.6238, allocations: 44 kB / 0.5813 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/0.6261, allocations: 199.7 kB / 0.5815 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006177/0.6267, allocations: 205.5 kB / 0.5817 GB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003007/0.627, allocations: 129.4 kB / 0.5818 GB, free: 384 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00347/0.6305, allocations: 1.859 MB / 0.5836 GB, free: 14.53 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6305, allocations: 4 kB / 0.5836 GB, free: 14.53 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005734/0.6363, allocations: 1.242 MB / 0.5848 GB, free: 13.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.0005917/0.6368, allocations: 190.8 kB / 0.585 GB, free: 13.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009745/0.6466, allocations: 4.337 MB / 0.5892 GB, free: 8.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.6466, allocations: 8 kB / 0.5892 GB, free: 8.742 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003344/0.6499, allocations: 1.45 MB / 0.5907 GB, free: 7.273 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.653, allocations: 0.493 MB / 0.5911 GB, free: 6.801 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1777/0.8307, allocations: 9.41 MB / 0.6003 GB, free: 120 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/0.834, allocations: 2.816 MB / 0.6031 GB, free: 119.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004608/0.8386, allocations: 1.857 MB / 0.6049 GB, free: 119.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/0.8403, allocations: 452 kB / 0.6053 GB, free: 119.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.494e-06/0.8403, allocations: 0 / 0.6053 GB, free: 119.6 MB / 458.7 MB Notification: Performance of Templates: time 0.08355/0.9239, allocations: 49.21 MB / 0.6534 GB, free: 101.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.6821908339625224]