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.001408/0.001408, allocations: 91.67 kB / 21.19 MB, free: 3.367 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.001428/0.001428, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.9667/0.9667, allocations: 177 MB / 204.8 MB, free: 5.199 MB / 186.7 MB " [Timeout remaining time 179] 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.403e-06/1.403e-06, allocations: 0 / 272.9 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.127e-05, allocations: 2.312 kB / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.008456/0.008478, allocations: 10.76 MB / 283.7 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005795/0.01427, allocations: 3.742 MB / 287.4 MB, free: 2.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.01537, allocations: 79.62 kB / 287.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1186/0.134, allocations: 2.88 MB / 290.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004434/0.1384, allocations: 1.872 MB / 292.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.1396, allocations: 0.6371 MB / 292.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004341/0.1439, allocations: 3.967 MB / 296.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.1475, allocations: 3.089 MB / 299.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/0.1505, allocations: 2.279 MB / 302.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.1529, allocations: 2.108 MB / 304.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006541/0.1535, allocations: 312.3 kB / 304.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.1548, allocations: 0.9879 MB / 305.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009189/0.1557, allocations: 1.92 MB / 307.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009804/0.1567, allocations: 1.193 MB / 308.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00292/0.1596, allocations: 4.24 MB / 313 MB, free: 7.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1596, allocations: 0 / 313 MB, free: 7.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1596, allocations: 0 / 313 MB, free: 7.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001043/0.1597, allocations: 0 / 313 MB, free: 7.418 MB / 266.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.005007/0.1647, allocations: 5.391 MB / 318.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1647, allocations: 19.98 kB / 318.4 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.1684, allocations: 2.31 MB / 320.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.1704, allocations: 1.988 MB / 322.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.1705, allocations: 223.3 kB / 322.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/0.1708, allocations: 298.2 kB / 323.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005635/0.1765, allocations: 5.578 MB / 328.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.311e-05/0.1765, allocations: 45.19 kB / 328.8 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/0.1768, allocations: 147.1 kB / 328.9 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001485/0.1783, allocations: 1.684 MB / 330.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005058/0.1833, allocations: 2.721 MB / 333.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02367/0.207, allocations: 41.3 MB / 374.6 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.2094, allocations: 1.119 MB / 375.8 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.2098, allocations: 349 kB / 376.1 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003134/0.2129, allocations: 2.94 MB / 379 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.213, allocations: 45.66 kB / 379.1 MB, free: 4.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=93): time 1.924e-06/0.213, allocations: 0 / 379.1 MB, free: 4.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=94): time 0.006557/0.2195, allocations: 5.384 MB / 384.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.2196, allocations: 140.5 kB / 384.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/0.2225, allocations: 3.553 MB / 388.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.2225, allocations: 37.7 kB / 388.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001595/0.2241, allocations: 3.406 MB / 391.6 MB, free: 7.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.2244, allocations: 455.6 kB / 392.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009938/0.2254, allocations: 1.24 MB / 393.3 MB, free: 5.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.2255, allocations: 476.8 kB / 393.8 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007579/0.2262, allocations: 0.5027 MB / 394.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/0.2294, allocations: 6.199 MB / 400.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005851/0.2352, allocations: 7.396 MB / 407.9 MB, free: 1.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-05/0.2353, allocations: 40 kB / 407.9 MB, free: 1.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=729) (initialization): time 0.005747/0.2411, allocations: 4.834 MB / 412.7 MB, free: 13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/0.2411, allocations: 64 kB / 412.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.499e-05/0.2412, allocations: 136 kB / 412.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003237/0.2415, allocations: 223.6 kB / 413.1 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.2435, allocations: 1.299 MB / 414.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.2446, allocations: 2.071 MB / 416.5 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.2464, allocations: 337.8 kB / 416.8 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/0.2467, allocations: 368 kB / 417.2 MB, free: 8.391 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (703): * Single equations (assignments): 699 * 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.0009511/0.2476, allocations: 0.6458 MB / 417.8 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.2479, allocations: 328.7 kB / 418.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007038/0.2486, allocations: 0.5599 MB / 418.7 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.2486, allocations: 12 kB / 418.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2486, allocations: 4.062 kB / 418.7 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.2486, allocations: 11.98 kB / 418.8 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/0.2527, allocations: 3.391 MB / 422.1 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2527, allocations: 4 kB / 422.1 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.253, allocations: 147.8 kB / 422.3 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/0.2532, allocations: 55.56 kB / 422.3 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.2532, allocations: 19.98 kB / 422.4 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009374/0.2542, allocations: 1.816 MB / 424.2 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2542, allocations: 4 kB / 424.2 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.2554, allocations: 1.544 MB / 425.7 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.2557, allocations: 285.8 kB / 426 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.2559, allocations: 23.05 kB / 426 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.2563, allocations: 71.64 kB / 426.1 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.2565, allocations: 59.89 kB / 426.2 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.2565, allocations: 24 kB / 426.2 MB, free: 15.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001767/0.2583, allocations: 1.504 MB / 427.7 MB, free: 13.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2583, allocations: 0 / 427.7 MB, free: 13.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002306/0.2606, allocations: 0.8397 MB / 428.5 MB, free: 12.81 MB / 394.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 (71): * Single equations (assignments): 67 * 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.0002856/0.2608, allocations: 162 kB / 428.7 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002704/0.2636, allocations: 2.494 MB / 431.2 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2636, allocations: 0 / 431.2 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.2639, allocations: 453.2 kB / 431.6 MB, free: 9.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.265, allocations: 377.6 kB / 432 MB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007881/0.2729, allocations: 6.505 MB / 438.5 MB, free: 2.742 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008959/0.2738, allocations: 1.123 MB / 439.6 MB, free: 1.594 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002086/0.2759, allocations: 1.507 MB / 441.1 MB, free: 84 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.09913/0.375, allocations: 206.7 kB / 441.3 MB, free: 127 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.375, allocations: 0 / 441.3 MB, free: 127 MB / 394.7 MB Notification: Performance of Templates: time 0.03297/0.408, allocations: 20.78 MB / 462.1 MB, free: 121.6 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] 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","",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.5262363580986857]