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.001452/0.001452, allocations: 88.86 kB / 21.5 MB, free: 2.984 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.00158/0.00158, allocations: 161.8 kB / 24.91 MB, free: 8.766 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.9782/0.9782, allocations: 177 MB / 205.2 MB, free: 5.43 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.2616/0.2616, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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.593e-06/1.593e-06, allocations: 0 / 326 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.491e-05, allocations: 4.281 kB / 326 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01228/0.01231, allocations: 10.52 MB / 336.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009676/0.02198, allocations: 3.875 MB / 340.4 MB, free: 8.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/0.02439, allocations: 79.62 kB / 340.4 MB, free: 8.602 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004792/0.02918, allocations: 2.823 MB / 343.3 MB, free: 5.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.03428, allocations: 1.851 MB / 345.1 MB, free: 3.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.0361, allocations: 0.756 MB / 345.9 MB, free: 3.152 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004496/0.0406, allocations: 3.979 MB / 349.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002545/0.04314, allocations: 3.118 MB / 353 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.04549, allocations: 2.284 MB / 355.2 MB, free: 9.676 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.04773, allocations: 2.007 MB / 357.2 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003355/0.04806, allocations: 320 kB / 357.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.04927, allocations: 1.022 MB / 358.6 MB, free: 6.328 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.05036, allocations: 1.925 MB / 360.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009109/0.05127, allocations: 1.215 MB / 361.7 MB, free: 3.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.05518, allocations: 4.262 MB / 366 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.05519, allocations: 0 / 366 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.05519, allocations: 0 / 366 MB, free: 14.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.071e-05/0.05526, allocations: 0 / 366 MB, free: 14.9 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.004887/0.06015, allocations: 4.46 MB / 370.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.06018, allocations: 8.031 kB / 370.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.06264, allocations: 1.058 MB / 371.5 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.06449, allocations: 1.689 MB / 373.2 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.0646, allocations: 229.9 kB / 373.4 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.06491, allocations: 303.8 kB / 373.7 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004644/0.06955, allocations: 4.57 MB / 378.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.267e-05/0.06963, allocations: 47.62 kB / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.06984, allocations: 143.9 kB / 378.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001204/0.07105, allocations: 1.509 MB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/0.07493, allocations: 2.251 MB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/0.1028, allocations: 28.44 MB / 410.7 MB, free: 280 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/0.1065, allocations: 1.104 MB / 411.8 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.107, allocations: 249.7 kB / 412 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005842/0.1128, allocations: 2.754 MB / 414.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.1129, allocations: 46.5 kB / 414.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.839e-06/0.1129, allocations: 0 / 414.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.008429/0.1213, allocations: 2.466 MB / 417.3 MB, free: 9.535 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.1214, allocations: 144.5 kB / 417.4 MB, free: 9.363 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004562/0.1259, allocations: 3.09 MB / 420.5 MB, free: 6.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.912e-05/0.126, allocations: 41.69 kB / 420.6 MB, free: 6.219 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.1279, allocations: 3 MB / 423.6 MB, free: 3.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000454/0.1284, allocations: 444.8 kB / 424 MB, free: 2.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.1296, allocations: 1.048 MB / 425 MB, free: 1.691 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.1297, allocations: 305.1 kB / 425.3 MB, free: 1.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.1311, allocations: 0.6196 MB / 426 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003601/0.1347, allocations: 4.2 MB / 430.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00381/0.1385, allocations: 5.334 MB / 435.5 MB, free: 3.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.474e-05/0.1386, allocations: 40 kB / 435.5 MB, free: 3.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.004256/0.1429, allocations: 3.76 MB / 439.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.1429, allocations: 60 kB / 439.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.239e-05/0.143, allocations: 132 kB / 439.5 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.1433, allocations: 219.7 kB / 439.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.1452, allocations: 1.302 MB / 441 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.1464, allocations: 1.502 MB / 442.5 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.1484, allocations: 251.7 kB / 442.8 MB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/0.1487, allocations: 315.9 kB / 443.1 MB, free: 11.8 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.0009762/0.1497, allocations: 0.5873 MB / 443.6 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.1499, allocations: 175.8 kB / 443.8 MB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/0.1505, allocations: 498.1 kB / 444.3 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.1505, allocations: 15.94 kB / 444.3 MB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1506, allocations: 0 / 444.3 MB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.1506, allocations: 7.984 kB / 444.3 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/0.1539, allocations: 2.846 MB / 447.2 MB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.1539, allocations: 4 kB / 447.2 MB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.1543, allocations: 162.4 kB / 447.3 MB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/0.1545, allocations: 47.62 kB / 447.4 MB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.1545, allocations: 20 kB / 447.4 MB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.1557, allocations: 1.431 MB / 448.8 MB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1557, allocations: 7.828 kB / 448.8 MB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009799/0.1566, allocations: 1.213 MB / 450.1 MB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.1569, allocations: 265.8 kB / 450.3 MB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.1571, allocations: 23.98 kB / 450.3 MB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.1575, allocations: 20.03 kB / 450.4 MB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1576, allocations: 59.78 kB / 450.4 MB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.1576, allocations: 27.98 kB / 450.4 MB, free: 4.172 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008796/0.1585, allocations: 1.105 MB / 451.5 MB, free: 3.074 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1585, allocations: 0 / 451.5 MB, free: 3.074 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002688/0.1612, allocations: 0.8358 MB / 452.4 MB, free: 2.238 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.0002847/0.1615, allocations: 136.1 kB / 452.5 MB, free: 2.094 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1358/0.2973, allocations: 2.113 MB / 454.6 MB, free: 124 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004008/0.2977, allocations: 96.06 kB / 454.7 MB, free: 124 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.2984, allocations: 327.2 kB / 455 MB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.3004, allocations: 0.5505 MB / 455.6 MB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007579/0.308, allocations: 6.414 MB / 462 MB, free: 121.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008549/0.3088, allocations: 1.105 MB / 463.1 MB, free: 121 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001037/0.3099, allocations: 443.9 kB / 463.5 MB, free: 121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005569/0.3104, allocations: 481.3 kB / 464 MB, free: 120.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.974e-06/0.3104, allocations: 0 / 464 MB, free: 120.9 MB / 426.7 MB Notification: Performance of Templates: time 0.03415/0.3446, allocations: 22.36 MB / 486.4 MB, free: 104.6 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 -s gbode -gbm=radauIIA3 -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.9970539938658476]