Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.00114/0.00114, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.00129/0.00129, allocations: 164.7 kB / 24.82 MB, free: 9.324 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.9824/0.9824, allocations: 177 MB / 205.1 MB, free: 5.441 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.3069/0.3069, allocations: 34.87 MB / 296.6 MB, free: 0.5195 MB / 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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.423e-05, allocations: 6.312 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.008364/0.008388, allocations: 10.45 MB / 389.7 MB, free: 7.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00484/0.01323, allocations: 3.73 MB / 393.4 MB, free: 3.582 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005806/0.01381, allocations: 75.69 kB / 393.5 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.01647, allocations: 2.838 MB / 396.3 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.01855, allocations: 1.87 MB / 398.2 MB, free: 14.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000766/0.01931, allocations: 0.7601 MB / 399 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002644/0.02196, allocations: 3.997 MB / 403 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.02423, allocations: 3.155 MB / 406.1 MB, free: 6.797 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.02609, allocations: 2.319 MB / 408.4 MB, free: 4.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.0278, allocations: 2.108 MB / 410.5 MB, free: 2.359 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003644/0.02816, allocations: 320 kB / 410.9 MB, free: 2.047 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.02932, allocations: 0.9906 MB / 411.8 MB, free: 1.055 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.03033, allocations: 1.921 MB / 413.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000917/0.03125, allocations: 1.207 MB / 415 MB, free: 13.92 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.03424, allocations: 4.266 MB / 419.2 MB, free: 9.637 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.03425, allocations: 0 / 419.2 MB, free: 9.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.03425, allocations: 0 / 419.2 MB, free: 9.637 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.228e-05/0.03431, allocations: 4 kB / 419.2 MB, free: 9.633 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.005755/0.04007, allocations: 5.26 MB / 424.5 MB, free: 4.312 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.04011, allocations: 11.97 kB / 424.5 MB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/0.04298, allocations: 1.418 MB / 425.9 MB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.0453, allocations: 1.817 MB / 427.8 MB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.04541, allocations: 229.9 kB / 428 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/0.04572, allocations: 295.8 kB / 428.3 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005667/0.05139, allocations: 5.079 MB / 433.3 MB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.522e-05/0.05146, allocations: 47.67 kB / 433.4 MB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.05169, allocations: 143.9 kB / 433.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001201/0.0529, allocations: 1.513 MB / 435 MB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003175/0.05607, allocations: 2.174 MB / 437.2 MB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2349/0.291, allocations: 39.59 MB / 476.8 MB, free: 58.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.2931, allocations: 1.063 MB / 477.9 MB, free: 58.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.2934, allocations: 307.7 kB / 478.2 MB, free: 58.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002968/0.2964, allocations: 2.929 MB / 481.1 MB, free: 57.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2964, allocations: 50.2 kB / 481.1 MB, free: 57.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.745e-06/0.2964, allocations: 0 / 481.1 MB, free: 57.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.005077/0.3015, allocations: 2.731 MB / 483.9 MB, free: 56.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.3015, allocations: 143.8 kB / 484 MB, free: 56.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.3039, allocations: 3.456 MB / 487.5 MB, free: 55.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.304, allocations: 36.92 kB / 487.5 MB, free: 55.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.3052, allocations: 3.391 MB / 490.9 MB, free: 53.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.3054, allocations: 461.7 kB / 491.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007869/0.3062, allocations: 1.228 MB / 492.6 MB, free: 52.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.3062, allocations: 480.1 kB / 493 MB, free: 51.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.3069, allocations: 450.5 kB / 493.5 MB, free: 51.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.3091, allocations: 5.978 MB / 499.5 MB, free: 44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004004/0.3131, allocations: 7.074 MB / 0.4947 GB, free: 35.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.486e-05/0.3132, allocations: 42.22 kB / 0.4947 GB, free: 35.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.004266/0.3174, allocations: 4.418 MB / 0.499 GB, free: 34.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.898e-05/0.3175, allocations: 62 kB / 0.4991 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/0.3176, allocations: 133.2 kB / 0.4992 GB, free: 34.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/0.318, allocations: 215.7 kB / 0.4994 GB, free: 34.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/0.3201, allocations: 1.247 MB / 0.5006 GB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.3212, allocations: 2.04 MB / 0.5026 GB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.3235, allocations: 251.4 kB / 0.5029 GB, free: 32.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003724/0.3239, allocations: 309 kB / 0.5032 GB, free: 32.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (685): * Single equations (assignments): 681 * 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.001128/0.325, allocations: 0.6262 MB / 0.5038 GB, free: 31.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.3254, allocations: 320.7 kB / 0.5041 GB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008232/0.3262, allocations: 0.5529 MB / 0.5046 GB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.3262, allocations: 12.91 kB / 0.5046 GB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3262, allocations: 1.5 kB / 0.5046 GB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3262, allocations: 4.719 kB / 0.5046 GB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.3314, allocations: 3.417 MB / 0.508 GB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3314, allocations: 6.422 kB / 0.508 GB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.3319, allocations: 142.5 kB / 0.5081 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001674/0.332, allocations: 47.05 kB / 0.5082 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.3321, allocations: 23 kB / 0.5082 GB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007311/0.3328, allocations: 1.794 MB / 0.5099 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3328, allocations: 6.438 kB / 0.5099 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.3343, allocations: 1.463 MB / 0.5114 GB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.3346, allocations: 280.3 kB / 0.5116 GB, free: 26.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.3349, allocations: 17.97 kB / 0.5117 GB, free: 26.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/0.3355, allocations: 17.62 kB / 0.5117 GB, free: 26.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.3356, allocations: 58.77 kB / 0.5117 GB, free: 26.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.3356, allocations: 33.98 kB / 0.5118 GB, free: 26.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0016/0.3372, allocations: 1.375 MB / 0.5131 GB, free: 26 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3372, allocations: 0 / 0.5131 GB, free: 26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003245/0.3405, allocations: 0.8295 MB / 0.5139 GB, free: 25.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (74): * Single equations (assignments): 70 * 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.000302/0.3408, allocations: 153.9 kB / 0.5141 GB, free: 25.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.3434, allocations: 2.322 MB / 0.5163 GB, free: 24.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3434, allocations: 0.9375 kB / 0.5163 GB, free: 24.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.3438, allocations: 426.6 kB / 0.5167 GB, free: 24.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.3452, allocations: 367 kB / 0.5171 GB, free: 24.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008448/0.3536, allocations: 6.504 MB / 0.5234 GB, free: 21.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.3547, allocations: 1.113 MB / 0.5245 GB, free: 20.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001185/0.3559, allocations: 447.2 kB / 0.5249 GB, free: 20.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006511/0.3565, allocations: 0.5093 MB / 0.5254 GB, free: 20.61 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3565, allocations: 0 / 0.5254 GB, free: 20.61 MB / 410.7 MB Notification: Performance of Templates: time 0.03883/0.3953, allocations: 22.45 MB / 0.5474 GB, free: 2.723 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.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.270635607186705]