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.001844/0.001844, allocations: 90.31 kB / 20.69 MB, free: 1.02 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.002236/0.002236, allocations: 158 kB / 23.95 MB, free: 4.145 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.534/1.534, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.1 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.213/0.213, allocations: 34.28 MB / 294.8 MB, free: 14.5 MB / 286.1 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 2.114e-06/2.114e-06, allocations: 0 / 442.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.295e-05, allocations: 8.609 kB / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2098/0.2098, allocations: 9.722 MB / 452.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008501/0.2183, allocations: 3.647 MB / 456 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.2207, allocations: 72.28 kB / 456.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005825/0.2265, allocations: 2.742 MB / 458.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005658/0.2321, allocations: 1.868 MB / 460.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.2343, allocations: 0.7495 MB / 461.5 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007044/0.2413, allocations: 3.983 MB / 465.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004942/0.2462, allocations: 3.066 MB / 468.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005173/0.2514, allocations: 2.221 MB / 470.7 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004247/0.2557, allocations: 2.122 MB / 472.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.2571, allocations: 328.2 kB / 473.2 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002987/0.2601, allocations: 0.9994 MB / 474.2 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002061/0.2621, allocations: 1.926 MB / 476.1 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002177/0.2643, allocations: 1.21 MB / 477.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.2743, allocations: 6.717 MB / 484 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.2744, allocations: 7.922 kB / 484 MB, free: 12.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2744, allocations: 0 / 484 MB, free: 12.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003271/0.2747, allocations: 4 kB / 484 MB, free: 12.44 MB / 382.1 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.02134/0.296, allocations: 5.273 MB / 489.3 MB, free: 7.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.2961, allocations: 8.031 kB / 489.3 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007744/0.3038, allocations: 1.917 MB / 491.2 MB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005267/0.3091, allocations: 2.193 MB / 493.4 MB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.3093, allocations: 226.1 kB / 493.7 MB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000941/0.3102, allocations: 303.8 kB / 493.9 MB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/0.332, allocations: 10.15 MB / 0.4923 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/0.3321, allocations: 43.7 kB / 0.4923 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005/0.3326, allocations: 139.9 kB / 0.4925 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003765/0.3364, allocations: 1.809 MB / 0.4942 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02215/0.3585, allocations: 9.098 MB / 0.5031 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05009/0.4086, allocations: 34.84 MB / 0.5371 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01468/0.4233, allocations: 3.359 MB / 0.5404 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002823/0.4261, allocations: 1.602 MB / 0.542 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007858/0.4269, allocations: 228.3 kB / 0.5422 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/0.427, allocations: 59.03 kB / 0.5423 GB, free: 3.344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 4.218e-06/0.427, allocations: 0 / 0.5423 GB, free: 3.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=136): time 0.04741/0.4744, allocations: 13.52 MB / 0.5555 GB, free: 5.762 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.579e-05/0.4745, allocations: 141.2 kB / 0.5556 GB, free: 5.594 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005956/0.4804, allocations: 3.722 MB / 0.5592 GB, free: 1.863 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003486/0.4808, allocations: 45.7 kB / 0.5593 GB, free: 1.812 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002408/0.4832, allocations: 3.078 MB / 0.5623 GB, free: 14.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006993/0.4839, allocations: 0.5661 MB / 0.5628 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/0.4855, allocations: 1.131 MB / 0.5639 GB, free: 12.99 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4856, allocations: 305.1 kB / 0.5642 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/0.4887, allocations: 1.924 MB / 0.5661 GB, free: 10.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006278/0.495, allocations: 5.509 MB / 0.5715 GB, free: 3.453 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/0.5063, allocations: 8.049 MB / 0.5793 GB, free: 9.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/0.5064, allocations: 39.94 kB / 0.5794 GB, free: 9.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01636/0.5227, allocations: 7.885 MB / 0.5871 GB, free: 1.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-05/0.5228, allocations: 67.92 kB / 0.5871 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/0.523, allocations: 128 kB / 0.5873 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/0.5256, allocations: 0.8999 MB / 0.5881 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004484/0.5301, allocations: 1.298 MB / 0.5894 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007323/0.5374, allocations: 4.997 MB / 0.5943 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004397/0.5418, allocations: 339.7 kB / 0.5946 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007709/0.5426, allocations: 367.9 kB / 0.595 GB, free: 9.512 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * 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 (681): * Single equations (assignments): 677 * 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.00343/0.546, allocations: 1.97 MB / 0.5969 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006986/0.5467, allocations: 306 kB / 0.5972 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005825/0.5526, allocations: 2.739 MB / 0.5999 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.008e-05/0.5526, allocations: 19.94 kB / 0.5999 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.5526, allocations: 4 kB / 0.5999 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/0.5526, allocations: 11.97 kB / 0.5999 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/0.5655, allocations: 6.26 MB / 0.606 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.5655, allocations: 4 kB / 0.606 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.5668, allocations: 259.7 kB / 0.6063 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/0.5691, allocations: 0.7108 MB / 0.607 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.5693, allocations: 35.98 kB / 0.607 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009312/0.5786, allocations: 4.624 MB / 0.6115 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.5786, allocations: 0 / 0.6115 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/0.5907, allocations: 5.103 MB / 0.6165 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.592, allocations: 293.9 kB / 0.6168 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005517/0.5926, allocations: 24 kB / 0.6168 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/0.5946, allocations: 107.8 kB / 0.6169 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004411/0.5951, allocations: 104.4 kB / 0.617 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/0.5952, allocations: 51.97 kB / 0.617 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003471/0.5987, allocations: 2.163 MB / 0.6192 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5987, allocations: 0 / 0.6192 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004658/0.6034, allocations: 0.9413 MB / 0.6201 GB, free: 15.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (104): * Single equations (assignments): 100 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004816/0.6038, allocations: 162.9 kB / 0.6202 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007296/0.6111, allocations: 4.449 MB / 0.6246 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6111, allocations: 4.469 kB / 0.6246 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.6131, allocations: 1.294 MB / 0.6258 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.6153, allocations: 371.4 kB / 0.6262 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.6297, allocations: 8.385 MB / 0.6344 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2051/0.8348, allocations: 2.516 MB / 0.6368 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004495/0.8393, allocations: 1.743 MB / 0.6385 GB, free: 167 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007884/0.8401, allocations: 256.9 kB / 0.6388 GB, free: 167 MB / 0.5294 GB Notification: Performance of SimCode: time 1.653e-06/0.8401, allocations: 0 / 0.6388 GB, free: 167 MB / 0.5294 GB Notification: Performance of Templates: time 0.06243/0.9025, allocations: 29.23 MB / 0.6673 GB, free: 158.1 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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: 6.9812976978719234]