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.0009608/0.0009608, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.00117/0.00117, allocations: 161.1 kB / 24.91 MB, free: 8.719 MB / 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 0.962/0.962, allocations: 177 MB / 205.2 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] 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.2597/0.2597, allocations: 34.85 MB / 296.6 MB, free: 448 kB / 266.7 MB " [Timeout remaining time 180] 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.343e-06/1.343e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.164e-05, allocations: 5.406 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01017/0.01019, allocations: 12.38 MB / 338.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007513/0.0177, allocations: 4.377 MB / 342.7 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.01942, allocations: 95.56 kB / 342.8 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004259/0.02368, allocations: 3.909 MB / 346.7 MB, free: 2.254 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.02773, allocations: 2.091 MB / 348.8 MB, free: 156 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.02939, allocations: 0.8809 MB / 349.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005395/0.03479, allocations: 4.639 MB / 354.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004685/0.03947, allocations: 4.04 MB / 358.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004732/0.04421, allocations: 2.9 MB / 361.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003398/0.0476, allocations: 2.396 MB / 363.7 MB, free: 1.184 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009711/0.04858, allocations: 412 kB / 364.1 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.05028, allocations: 1.096 MB / 365.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002056/0.05233, allocations: 2.345 MB / 367.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.05441, allocations: 1.519 MB / 369 MB, free: 11.81 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005552/0.05996, allocations: 5.079 MB / 374.1 MB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.05997, allocations: 0 / 374.1 MB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.05997, allocations: 0 / 374.1 MB, free: 6.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001907/0.06016, allocations: 4 kB / 374.1 MB, free: 6.707 MB / 346.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.007536/0.0677, allocations: 5.509 MB / 379.6 MB, free: 1.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.06773, allocations: 12.03 kB / 379.6 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/0.07082, allocations: 1.187 MB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/0.07406, allocations: 2.046 MB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.07424, allocations: 295.7 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005407/0.07478, allocations: 395.7 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008017/0.0828, allocations: 5.593 MB / 389.1 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.08291, allocations: 43.62 kB / 389.2 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003002/0.08321, allocations: 183.8 kB / 389.4 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001418/0.08463, allocations: 1.785 MB / 391.1 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005247/0.08988, allocations: 2.793 MB / 393.9 MB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02975/0.1196, allocations: 33.58 MB / 427.5 MB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/0.1236, allocations: 1.669 MB / 429.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.1242, allocations: 405.4 kB / 429.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005483/0.1297, allocations: 4.143 MB / 433.7 MB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1297, allocations: 47.56 kB / 433.8 MB, free: 8.848 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 3.517e-06/0.1297, allocations: 0 / 433.8 MB, free: 8.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01173/0.1414, allocations: 5.404 MB / 439.2 MB, free: 3.398 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.1415, allocations: 141.5 kB / 439.3 MB, free: 3.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1448/0.2862, allocations: 3.4 MB / 442.7 MB, free: 110.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002733/0.2865, allocations: 47.39 kB / 442.8 MB, free: 110.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001869/0.2884, allocations: 3.457 MB / 446.2 MB, free: 108.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000689/0.2891, allocations: 0.6618 MB / 446.9 MB, free: 108.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.2902, allocations: 1.202 MB / 448.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.2902, allocations: 303.3 kB / 448.4 MB, free: 108 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.2914, allocations: 0.7632 MB / 449.1 MB, free: 107.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.294, allocations: 4.692 MB / 453.8 MB, free: 102.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003954/0.2979, allocations: 6.041 MB / 459.9 MB, free: 97.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-05/0.298, allocations: 42.22 kB / 459.9 MB, free: 97.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.005031/0.303, allocations: 4.34 MB / 464.3 MB, free: 95.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.3031, allocations: 67.88 kB / 464.3 MB, free: 95.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/0.3033, allocations: 142.7 kB / 464.5 MB, free: 95.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.3038, allocations: 253.2 kB / 464.7 MB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/0.3071, allocations: 1.522 MB / 466.2 MB, free: 95.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.3083, allocations: 1.605 MB / 467.8 MB, free: 93.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/0.3113, allocations: 280.7 kB / 468.1 MB, free: 93.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/0.3117, allocations: 349 kB / 468.5 MB, free: 93.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * 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 (802): * Single equations (assignments): 798 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001288/0.313, allocations: 0.6514 MB / 469.1 MB, free: 93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/0.3134, allocations: 224.3 kB / 469.3 MB, free: 92.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.3147, allocations: 0.8628 MB / 470.2 MB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.3147, allocations: 23.67 kB / 470.2 MB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3147, allocations: 0 / 470.2 MB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.3147, allocations: 11.17 kB / 470.2 MB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005985/0.3207, allocations: 4.282 MB / 474.5 MB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.3207, allocations: 8 kB / 474.5 MB, free: 89.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008989/0.3216, allocations: 277.4 kB / 474.8 MB, free: 89.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/0.3219, allocations: 78.39 kB / 474.9 MB, free: 89.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.55e-05/0.322, allocations: 38.11 kB / 474.9 MB, free: 89.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.3231, allocations: 1.516 MB / 476.4 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3231, allocations: 7.938 kB / 476.4 MB, free: 87.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.325, allocations: 1.822 MB / 478.2 MB, free: 85.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006326/0.3256, allocations: 433.9 kB / 478.7 MB, free: 85.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/0.3259, allocations: 32 kB / 478.7 MB, free: 85.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009003/0.3268, allocations: 35.98 kB / 478.7 MB, free: 85.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.327, allocations: 104.7 kB / 478.8 MB, free: 85.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.939e-05/0.3271, allocations: 39.98 kB / 478.9 MB, free: 85.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001349/0.3284, allocations: 1.238 MB / 480.1 MB, free: 83.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3284, allocations: 0 / 480.1 MB, free: 83.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004242/0.3327, allocations: 1.029 MB / 481.1 MB, free: 82.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (143): * Single equations (assignments): 139 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003445/0.333, allocations: 166 kB / 481.3 MB, free: 82.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003402/0.3364, allocations: 2.573 MB / 483.9 MB, free: 80.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001758/0.3366, allocations: 101.1 kB / 484 MB, free: 80.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006738/0.3373, allocations: 0.5373 MB / 484.5 MB, free: 79.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.3395, allocations: 0.6608 MB / 485.2 MB, free: 78.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.3506, allocations: 8.119 MB / 493.3 MB, free: 70.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.3518, allocations: 1.355 MB / 494.6 MB, free: 69.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00185/0.3537, allocations: 0.5097 MB / 495.2 MB, free: 68.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.3548, allocations: 0.5636 MB / 495.7 MB, free: 68.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/0.3548, allocations: 0 / 495.7 MB, free: 68.21 MB / 410.7 MB Notification: Performance of Templates: time 0.0547/0.4095, allocations: 30.22 MB / 0.5136 GB, free: 38.37 MB / 410.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.039610759355128]