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.000821/0.000821, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009364/0.0009364, allocations: 159.4 kB / 24.9 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.9612/0.9612, allocations: 177 MB / 205.2 MB, free: 5.039 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.257/0.257, allocations: 34.86 MB / 296.6 MB, free: 464 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 3.026e-06/3.026e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.41e-05/3.713e-05, allocations: 5.406 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01437/0.01441, allocations: 10.46 MB / 336.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.02627, allocations: 3.883 MB / 340.3 MB, free: 8.758 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.02849, allocations: 79.62 kB / 340.3 MB, free: 8.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004153/0.03264, allocations: 2.873 MB / 343.2 MB, free: 5.797 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00491/0.03755, allocations: 1.882 MB / 345.1 MB, free: 3.906 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.03889, allocations: 0.7601 MB / 345.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003993/0.04288, allocations: 3.971 MB / 349.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.04551, allocations: 3.243 MB / 353.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.04798, allocations: 2.319 MB / 355.4 MB, free: 9.512 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.05004, allocations: 2.015 MB / 357.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004689/0.05051, allocations: 320 kB / 357.7 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.05177, allocations: 0.983 MB / 358.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.05291, allocations: 1.917 MB / 360.6 MB, free: 4.273 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.0541, allocations: 1.211 MB / 361.8 MB, free: 3.059 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003806/0.05791, allocations: 4.258 MB / 366.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.05791, allocations: 7.922 kB / 366.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.05792, allocations: 0 / 366.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.979e-05/0.05802, allocations: 0 / 366.1 MB, free: 14.78 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.005513/0.06353, allocations: 4.46 MB / 370.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.06357, allocations: 12.03 kB / 370.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/0.06624, allocations: 1.058 MB / 371.6 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.06859, allocations: 1.689 MB / 373.3 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.06871, allocations: 225.9 kB / 373.5 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.06906, allocations: 303.8 kB / 373.8 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005003/0.07406, allocations: 4.57 MB / 378.4 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.132e-05/0.07416, allocations: 47.62 kB / 378.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/0.0744, allocations: 139.9 kB / 378.6 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001284/0.07569, allocations: 1.513 MB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004276/0.07996, allocations: 2.248 MB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02425/0.1042, allocations: 28.44 MB / 410.8 MB, free: 156 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.1069, allocations: 1.11 MB / 411.9 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.1073, allocations: 246.8 kB / 412.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004476/0.1118, allocations: 2.754 MB / 414.9 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.1118, allocations: 46.55 kB / 414.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.85e-06/0.1118, allocations: 3.984 kB / 414.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.005716/0.1175, allocations: 2.468 MB / 417.4 MB, free: 9.402 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.1176, allocations: 148.5 kB / 417.5 MB, free: 9.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.1201, allocations: 3.094 MB / 420.6 MB, free: 6.125 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.1201, allocations: 37.7 kB / 420.7 MB, free: 6.082 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.1213, allocations: 2.993 MB / 423.7 MB, free: 3.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.1216, allocations: 452.8 kB / 424.1 MB, free: 2.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007962/0.1224, allocations: 1.045 MB / 425.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.1225, allocations: 301.1 kB / 425.4 MB, free: 1.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008783/0.1234, allocations: 0.6235 MB / 426.1 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.1259, allocations: 4.2 MB / 430.3 MB, free: 10.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003994/0.1299, allocations: 5.344 MB / 435.6 MB, free: 3.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.499e-05/0.1299, allocations: 39.94 kB / 435.7 MB, free: 3.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.004654/0.1346, allocations: 3.756 MB / 439.4 MB, free: 15.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.1347, allocations: 65 kB / 439.5 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.141e-05/0.1348, allocations: 136 kB / 439.6 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/0.1351, allocations: 215.6 kB / 439.8 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.137, allocations: 1.248 MB / 441.1 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1382, allocations: 1.51 MB / 442.6 MB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.1405, allocations: 247.7 kB / 442.8 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/0.1408, allocations: 308 kB / 443.1 MB, free: 11.72 MB / 426.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.001196/0.142, allocations: 0.5912 MB / 443.7 MB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.1423, allocations: 175.8 kB / 443.9 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/0.143, allocations: 0.4942 MB / 444.4 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.143, allocations: 15.94 kB / 444.4 MB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.143, allocations: 0 / 444.4 MB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.143, allocations: 7.984 kB / 444.4 MB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.1467, allocations: 2.838 MB / 447.2 MB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1467, allocations: 0 / 447.2 MB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.147, allocations: 144 kB / 447.4 MB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.1472, allocations: 55.56 kB / 447.4 MB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.1472, allocations: 23.97 kB / 447.5 MB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009143/0.1481, allocations: 1.419 MB / 448.9 MB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1481, allocations: 4 kB / 448.9 MB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1492, allocations: 1.212 MB / 450.1 MB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.1496, allocations: 269.8 kB / 450.4 MB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.1497, allocations: 23.98 kB / 450.4 MB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.1501, allocations: 23.98 kB / 450.4 MB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.1502, allocations: 59.81 kB / 450.5 MB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.1503, allocations: 27.98 kB / 450.5 MB, free: 4.102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008996/0.1512, allocations: 1.109 MB / 451.6 MB, free: 3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1512, allocations: 0 / 451.6 MB, free: 3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002659/0.1538, allocations: 0.8281 MB / 452.4 MB, free: 2.172 MB / 426.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.0002843/0.1541, allocations: 144.2 kB / 452.6 MB, free: 2.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1466/0.3007, allocations: 2.104 MB / 454.7 MB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004099/0.3011, allocations: 96.78 kB / 454.8 MB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.3017, allocations: 326.5 kB / 455.1 MB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.3037, allocations: 0.5504 MB / 455.6 MB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00761/0.3113, allocations: 6.418 MB / 462.1 MB, free: 109.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.3123, allocations: 1.11 MB / 463.2 MB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001366/0.3137, allocations: 445.4 kB / 463.6 MB, free: 109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006703/0.3144, allocations: 480.2 kB / 464.1 MB, free: 109 MB / 426.7 MB Notification: Performance of SimCode: time 1.834e-06/0.3144, allocations: 0 / 464.1 MB, free: 109 MB / 426.7 MB Notification: Performance of Templates: time 0.04026/0.3546, allocations: 22.31 MB / 486.4 MB, free: 95.64 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.886763432994485]