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.001667/0.001667, allocations: 81.62 kB / 21.25 MB, free: 0.5469 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.002067/0.002067, allocations: 159.8 kB / 24.5 MB, free: 3.719 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.434/1.434, allocations: 177.1 MB / 204.7 MB, free: 8.949 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 0.002263/0.002263, allocations: 60.34 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1045, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01284/0.1174, allocations: 9.671 MB / 388.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009544/0.1269, allocations: 3.641 MB / 392.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.1286, allocations: 75.62 kB / 392.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005446/0.134, allocations: 2.613 MB / 394.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.1388, allocations: 1.813 MB / 396.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.1403, allocations: 0.5733 MB / 397.3 MB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005241/0.1456, allocations: 3.579 MB / 400.9 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003704/0.1493, allocations: 2.717 MB / 403.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.1518, allocations: 1.468 MB / 405.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.1552, allocations: 2.021 MB / 407.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008105/0.156, allocations: 319.9 kB / 407.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.1582, allocations: 0.9479 MB / 408.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002024/0.1602, allocations: 1.831 MB / 410.2 MB, free: 32 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00252/0.1627, allocations: 1.538 MB / 411.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008573/0.1713, allocations: 6.704 MB / 418.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.1713, allocations: 4 kB / 418.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1713, allocations: 0 / 418.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002341/0.1715, allocations: 4 kB / 418.4 MB, free: 7.746 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.0193/0.1909, allocations: 5.234 MB / 423.7 MB, free: 2.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1909, allocations: 11.98 kB / 423.7 MB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007409/0.1983, allocations: 1.921 MB / 425.6 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005611/0.2039, allocations: 2.201 MB / 427.8 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.2042, allocations: 221.7 kB / 428 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.2053, allocations: 299.8 kB / 428.3 MB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.2269, allocations: 10.1 MB / 438.4 MB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001972/0.2271, allocations: 39.64 kB / 438.4 MB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/0.2283, allocations: 147.9 kB / 438.6 MB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003728/0.232, allocations: 1.809 MB / 440.4 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02136/0.2534, allocations: 9.033 MB / 449.4 MB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2671/0.5205, allocations: 35.46 MB / 484.9 MB, free: 57.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01552/0.536, allocations: 3.226 MB / 488.1 MB, free: 57.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00211/0.5381, allocations: 1.573 MB / 489.7 MB, free: 57.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004559/0.5386, allocations: 121.1 kB / 489.8 MB, free: 57.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.5386, allocations: 48.5 kB / 489.8 MB, free: 57.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.867e-06/0.5386, allocations: 1.281 kB / 489.8 MB, free: 57.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.03965/0.5783, allocations: 13.23 MB / 0.4913 GB, free: 53.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.5783, allocations: 142.7 kB / 0.4914 GB, free: 52.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.5822, allocations: 3.735 MB / 0.4951 GB, free: 51.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.5824, allocations: 41.23 kB / 0.4951 GB, free: 51.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.5835, allocations: 3.161 MB / 0.4982 GB, free: 48.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004034/0.5839, allocations: 0.5741 MB / 0.4988 GB, free: 48.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.585, allocations: 1.179 MB / 0.4999 GB, free: 47.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.585, allocations: 313.1 kB / 0.5002 GB, free: 46.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.5871, allocations: 1.951 MB / 0.5021 GB, free: 44.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003096/0.5902, allocations: 5.653 MB / 0.5076 GB, free: 37.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00624/0.5964, allocations: 8.243 MB / 0.5157 GB, free: 27.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-05/0.5965, allocations: 36 kB / 0.5157 GB, free: 27.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01109/0.6076, allocations: 8.053 MB / 0.5236 GB, free: 19.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/0.6077, allocations: 60 kB / 0.5236 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.664e-05/0.6078, allocations: 132.8 kB / 0.5238 GB, free: 19.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/0.6099, allocations: 0.9044 MB / 0.5246 GB, free: 18.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003443/0.6134, allocations: 1.326 MB / 0.5259 GB, free: 16.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005224/0.6186, allocations: 5.026 MB / 0.5309 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/0.6223, allocations: 315.8 kB / 0.5312 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004901/0.6228, allocations: 371.8 kB / 0.5315 GB, free: 11.15 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.002115/0.6249, allocations: 1.986 MB / 0.5334 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/0.6254, allocations: 313.9 kB / 0.5337 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.6296, allocations: 2.712 MB / 0.5364 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.6297, allocations: 16 kB / 0.5364 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6297, allocations: 7.281 kB / 0.5364 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.6297, allocations: 7.984 kB / 0.5364 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00941/0.6391, allocations: 6.119 MB / 0.5424 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.6391, allocations: 4 kB / 0.5424 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.6402, allocations: 223.8 kB / 0.5426 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/0.6424, allocations: 0.7138 MB / 0.5433 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.6426, allocations: 35.98 kB / 0.5433 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006525/0.6491, allocations: 4.579 MB / 0.5478 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.6491, allocations: 7.812 kB / 0.5478 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0083/0.6574, allocations: 5.048 MB / 0.5528 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000845/0.6582, allocations: 277.8 kB / 0.553 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/0.6585, allocations: 20 kB / 0.553 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.6597, allocations: 75.91 kB / 0.5531 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.6599, allocations: 104.3 kB / 0.5532 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.66, allocations: 55.56 kB / 0.5533 GB, free: 4.695 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003335/0.6634, allocations: 2.15 MB / 0.5554 GB, free: 2.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6634, allocations: 0 / 0.5554 GB, free: 2.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005579/0.669, allocations: 0.8788 MB / 0.5562 GB, free: 1.676 MB / 446.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.0004977/0.6695, allocations: 147 kB / 0.5564 GB, free: 1.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007407/0.6769, allocations: 4.52 MB / 0.5608 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.6769, allocations: 0 / 0.5608 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.6788, allocations: 1.26 MB / 0.562 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.681, allocations: 373.1 kB / 0.5624 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.695, allocations: 8.453 MB / 0.5706 GB, free: 2.922 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003474/0.6985, allocations: 2.515 MB / 0.5731 GB, free: 400 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004102/0.7026, allocations: 1.784 MB / 0.5748 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006351/0.7033, allocations: 248.4 kB / 0.5751 GB, free: 14.36 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7033, allocations: 0 / 0.5751 GB, free: 14.36 MB / 478.1 MB Notification: Performance of Templates: time 0.06236/0.7656, allocations: 27.92 MB / 0.6023 GB, free: 2.898 MB / 494.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/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.265711637912318]