Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.001322/0.001322, allocations: 89.53 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.001895/0.001895, allocations: 157.5 kB / 23.95 MB, free: 4.152 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.498/1.498, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.35e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01351/0.01354, allocations: 9.687 MB / 334.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.02357, allocations: 3.649 MB / 338.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.02557, allocations: 76.75 kB / 338.4 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005885/0.03145, allocations: 2.755 MB / 341.2 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.03675, allocations: 1.866 MB / 343 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.03834, allocations: 0.6237 MB / 343.7 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005745/0.04408, allocations: 3.964 MB / 347.6 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00448/0.04856, allocations: 2.989 MB / 350.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003452/0.05201, allocations: 2.198 MB / 352.8 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/0.05544, allocations: 2.112 MB / 354.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007266/0.05616, allocations: 320 kB / 355.2 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.05836, allocations: 0.983 MB / 356.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002109/0.06047, allocations: 1.917 MB / 358.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.06227, allocations: 1.207 MB / 359.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008576/0.07085, allocations: 6.697 MB / 366 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.07086, allocations: 0 / 366 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.07086, allocations: 0 / 366 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001564/0.07101, allocations: 0 / 366 MB, free: 11.86 MB / 334.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.01837/0.08939, allocations: 5.253 MB / 371.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.08943, allocations: 11.98 kB / 371.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007384/0.09682, allocations: 1.929 MB / 373.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004268/0.1011, allocations: 2.181 MB / 375.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.1013, allocations: 225.8 kB / 375.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006316/0.1019, allocations: 299.8 kB / 375.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.1202, allocations: 10.1 MB / 386 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.1203, allocations: 43.64 kB / 386.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004477/0.1208, allocations: 143.9 kB / 386.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00351/0.1243, allocations: 1.805 MB / 388 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02064/0.1449, allocations: 9.033 MB / 397.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04652/0.1914, allocations: 35.52 MB / 432.6 MB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/0.2054, allocations: 3.229 MB / 435.8 MB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002438/0.2079, allocations: 1.577 MB / 437.4 MB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004867/0.2084, allocations: 120.4 kB / 437.5 MB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.2084, allocations: 47.2 kB / 437.5 MB, free: 2.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=127): time 4.127e-06/0.2084, allocations: 0 / 437.5 MB, free: 2.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.04497/0.2534, allocations: 13.32 MB / 450.9 MB, free: 5.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.2535, allocations: 145.1 kB / 451 MB, free: 4.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005223/0.2587, allocations: 3.823 MB / 454.8 MB, free: 1.074 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.2589, allocations: 41.7 kB / 454.9 MB, free: 1.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002349/0.2612, allocations: 3.125 MB / 458 MB, free: 13.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005937/0.2618, allocations: 0.5584 MB / 458.5 MB, free: 13.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001552/0.2633, allocations: 1.167 MB / 459.7 MB, free: 12.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2635, allocations: 301.1 kB / 460 MB, free: 11.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/0.2665, allocations: 1.955 MB / 462 MB, free: 9.867 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006236/0.2727, allocations: 5.654 MB / 467.6 MB, free: 2.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1764/0.4491, allocations: 8.254 MB / 475.9 MB, free: 116.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.841e-05/0.4492, allocations: 36.84 kB / 475.9 MB, free: 116.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01412/0.4633, allocations: 8.038 MB / 483.9 MB, free: 113.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.4634, allocations: 62.22 kB / 484 MB, free: 113.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/0.4636, allocations: 131.3 kB / 484.1 MB, free: 113.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/0.4661, allocations: 0.9154 MB / 485 MB, free: 113.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/0.4698, allocations: 1.331 MB / 486.4 MB, free: 113.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005558/0.4754, allocations: 5.005 MB / 491.4 MB, free: 110.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004099/0.4795, allocations: 342 kB / 491.7 MB, free: 110.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005771/0.4801, allocations: 372 kB / 492.1 MB, free: 110.6 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * 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 (699): * Single equations (assignments): 695 * 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.002746/0.4828, allocations: 1.991 MB / 494.1 MB, free: 109.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005916/0.4834, allocations: 309.9 kB / 494.4 MB, free: 109.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/0.4879, allocations: 2.72 MB / 497.1 MB, free: 108.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.488, allocations: 15.84 kB / 497.1 MB, free: 108.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.488, allocations: 4 kB / 497.1 MB, free: 108.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.488, allocations: 9.297 kB / 497.1 MB, free: 108.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.4987, allocations: 6.168 MB / 0.4915 GB, free: 103.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.4987, allocations: 7.938 kB / 0.4915 GB, free: 103.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.4997, allocations: 227.6 kB / 0.4917 GB, free: 103 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002018/0.5017, allocations: 0.7162 MB / 0.4924 GB, free: 102.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.5018, allocations: 39.97 kB / 0.4925 GB, free: 102.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004888/0.5067, allocations: 4.61 MB / 0.497 GB, free: 97.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5067, allocations: 0 / 0.497 GB, free: 97.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006457/0.5132, allocations: 5.056 MB / 0.5019 GB, free: 92.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/0.5139, allocations: 301.2 kB / 0.5022 GB, free: 92.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/0.5142, allocations: 27.92 kB / 0.5022 GB, free: 92.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.5155, allocations: 106.3 kB / 0.5023 GB, free: 92.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.5158, allocations: 100.4 kB / 0.5024 GB, free: 92.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.5159, allocations: 43.98 kB / 0.5024 GB, free: 92.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00245/0.5184, allocations: 2.216 MB / 0.5046 GB, free: 89.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5184, allocations: 0 / 0.5046 GB, free: 89.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00409/0.5224, allocations: 0.9461 MB / 0.5055 GB, free: 89.03 MB / 430.1 MB 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 (101): * Single equations (assignments): 97 * 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.0004028/0.5228, allocations: 166.3 kB / 0.5057 GB, free: 88.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005714/0.5286, allocations: 4.519 MB / 0.5101 GB, free: 84.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5286, allocations: 0 / 0.5101 GB, free: 84.37 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.53, allocations: 1.272 MB / 0.5114 GB, free: 83.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.5323, allocations: 381.1 kB / 0.5117 GB, free: 82.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.5437, allocations: 8.391 MB / 0.5199 GB, free: 74.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002286/0.546, allocations: 2.514 MB / 0.5224 GB, free: 71.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003324/0.5493, allocations: 1.788 MB / 0.5241 GB, free: 69.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/0.5499, allocations: 252.4 kB / 0.5244 GB, free: 69.74 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5499, allocations: 0 / 0.5244 GB, free: 69.74 MB / 430.1 MB Notification: Performance of Templates: time 0.05358/0.6035, allocations: 28.98 MB / 0.5527 GB, free: 41.22 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.212165884673595]