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.0009373/0.0009373, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001397/0.001397, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9127/0.9127, allocations: 177 MB / 204.8 MB, free: 5.578 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.2398/0.2398, allocations: 34.86 MB / 296.3 MB, free: 500 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_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.193e-06/1.193e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.597e-05, allocations: 7.094 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.008448/0.008464, allocations: 10.74 MB / 389.5 MB, free: 7.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005774/0.01424, allocations: 3.777 MB / 393.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009676/0.01521, allocations: 75.62 kB / 393.4 MB, free: 3.406 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003029/0.01823, allocations: 2.881 MB / 396.2 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.02127, allocations: 1.874 MB / 398.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.02228, allocations: 0.7601 MB / 398.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003473/0.02575, allocations: 3.971 MB / 402.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/0.02834, allocations: 3.175 MB / 406 MB, free: 6.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.03038, allocations: 2.315 MB / 408.3 MB, free: 4.332 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.03254, allocations: 2.108 MB / 410.5 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004969/0.03304, allocations: 320 kB / 410.8 MB, free: 1.906 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.03417, allocations: 0.9946 MB / 411.8 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.03521, allocations: 1.925 MB / 413.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007987/0.03601, allocations: 1.207 MB / 414.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.03917, allocations: 4.266 MB / 419.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.03917, allocations: 0 / 419.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.03917, allocations: 0 / 419.2 MB, free: 9.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.0392, allocations: 0 / 419.2 MB, free: 9.488 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.00553/0.04473, allocations: 5.413 MB / 424.6 MB, free: 4.016 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.04477, allocations: 12.03 kB / 424.6 MB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003739/0.0485, allocations: 2.319 MB / 426.9 MB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.05035, allocations: 1.997 MB / 428.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.05045, allocations: 229.8 kB / 429.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.05078, allocations: 299.8 kB / 429.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006076/0.05686, allocations: 5.553 MB / 435 MB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.958e-05/0.05693, allocations: 43.64 kB / 435 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.05716, allocations: 147.9 kB / 435.2 MB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001728/0.05889, allocations: 1.681 MB / 436.8 MB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004327/0.06321, allocations: 2.746 MB / 439.6 MB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1749/0.2381, allocations: 39.97 MB / 479.6 MB, free: 57.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.2405, allocations: 1.206 MB / 480.8 MB, free: 57.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.2409, allocations: 361.9 kB / 481.1 MB, free: 57.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00291/0.2438, allocations: 3.093 MB / 484.2 MB, free: 56.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2438, allocations: 50.92 kB / 484.3 MB, free: 56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.605e-06/0.2438, allocations: 0 / 484.3 MB, free: 56 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.005979/0.2498, allocations: 5.522 MB / 489.8 MB, free: 53.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.2498, allocations: 142.2 kB / 489.9 MB, free: 53.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/0.2522, allocations: 3.466 MB / 493.4 MB, free: 51.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.2523, allocations: 36.89 kB / 493.4 MB, free: 51.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.2534, allocations: 3.36 MB / 496.8 MB, free: 49.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.2536, allocations: 465.5 kB / 497.2 MB, free: 48.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007895/0.2544, allocations: 1.204 MB / 498.4 MB, free: 48.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.2544, allocations: 477.4 kB / 498.9 MB, free: 47.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006405/0.2551, allocations: 0.4888 MB / 499.4 MB, free: 47.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.2573, allocations: 6.008 MB / 0.4936 GB, free: 40.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004045/0.2613, allocations: 7.167 MB / 0.5006 GB, free: 32.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.704e-05/0.2614, allocations: 38.94 kB / 0.5006 GB, free: 32.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.005731/0.2671, allocations: 4.707 MB / 0.5052 GB, free: 30.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.248e-05/0.2672, allocations: 61.31 kB / 0.5052 GB, free: 30.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/0.2673, allocations: 133 kB / 0.5054 GB, free: 30.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.2677, allocations: 221.8 kB / 0.5056 GB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.2698, allocations: 1.269 MB / 0.5068 GB, free: 30.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009216/0.2707, allocations: 2.056 MB / 0.5088 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.2726, allocations: 326.3 kB / 0.5091 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002992/0.2729, allocations: 352.7 kB / 0.5095 GB, free: 28.02 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.000857/0.2737, allocations: 0.6324 MB / 0.5101 GB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.274, allocations: 324.7 kB / 0.5104 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006614/0.2746, allocations: 0.5788 MB / 0.511 GB, free: 27.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.2746, allocations: 18.94 kB / 0.511 GB, free: 27.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2746, allocations: 2.562 kB / 0.511 GB, free: 27.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2746, allocations: 4.594 kB / 0.511 GB, free: 27.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004497/0.2791, allocations: 3.442 MB / 0.5144 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.2791, allocations: 3.281 kB / 0.5144 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.2797, allocations: 168.6 kB / 0.5145 GB, free: 25.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000174/0.2798, allocations: 53.94 kB / 0.5146 GB, free: 25.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.2799, allocations: 23.09 kB / 0.5146 GB, free: 25.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007114/0.2806, allocations: 1.809 MB / 0.5164 GB, free: 23.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2806, allocations: 6.438 kB / 0.5164 GB, free: 23.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.2819, allocations: 1.546 MB / 0.5179 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.2822, allocations: 288.1 kB / 0.5182 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.2824, allocations: 11.81 kB / 0.5182 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006741/0.2831, allocations: 81.92 kB / 0.5182 GB, free: 22.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.2832, allocations: 67.72 kB / 0.5183 GB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.2833, allocations: 24.75 kB / 0.5183 GB, free: 22.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00159/0.2848, allocations: 1.469 MB / 0.5198 GB, free: 21.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2848, allocations: 4 kB / 0.5198 GB, free: 21.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002999/0.2878, allocations: 0.8321 MB / 0.5206 GB, free: 21.83 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.0002842/0.2881, allocations: 151.9 kB / 0.5207 GB, free: 21.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.291, allocations: 2.455 MB / 0.5231 GB, free: 20.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.291, allocations: 0 / 0.5231 GB, free: 20.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.2914, allocations: 454.5 kB / 0.5236 GB, free: 20.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.2928, allocations: 366 kB / 0.5239 GB, free: 20.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007112/0.2999, allocations: 6.522 MB / 0.5303 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.301, allocations: 1.119 MB / 0.5314 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002666/0.3036, allocations: 1.478 MB / 0.5328 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.304, allocations: 200.6 kB / 0.533 GB, free: 13.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.304, allocations: 0 / 0.533 GB, free: 13.21 MB / 410.7 MB Notification: Performance of Templates: time 0.03644/0.3404, allocations: 20.82 MB / 0.5533 GB, free: 11.85 MB / 426.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: 3.9955732841044664]