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.002518/0.002518, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002831/0.002831, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.561/1.561, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.553e-06/1.553e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.881e-05, allocations: 2.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01573/0.01576, allocations: 10.67 MB / 282.8 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009675/0.02544, allocations: 3.742 MB / 286.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002393/0.02783, allocations: 75.62 kB / 286.7 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006714/0.03454, allocations: 2.881 MB / 289.5 MB, free: 404 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1561/0.1907, allocations: 1.861 MB / 291.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.1922, allocations: 0.6283 MB / 292 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005633/0.1979, allocations: 3.972 MB / 296 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004464/0.2023, allocations: 3.084 MB / 299.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004828/0.2072, allocations: 2.211 MB / 301.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003596/0.2108, allocations: 2.171 MB / 303.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.2118, allocations: 322.1 kB / 303.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.2141, allocations: 0.9982 MB / 304.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.2156, allocations: 1.93 MB / 306.7 MB, free: 11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.2172, allocations: 1.205 MB / 307.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006559/0.2238, allocations: 6.715 MB / 314.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2238, allocations: 3.984 kB / 314.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2238, allocations: 0 / 314.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001782/0.224, allocations: 0 / 314.6 MB, free: 5.27 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.01759/0.2415, allocations: 6.022 MB / 320.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.2416, allocations: 15.98 kB / 320.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008299/0.2499, allocations: 2.314 MB / 323 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006781/0.2567, allocations: 2.04 MB / 325 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.2569, allocations: 218.6 kB / 325.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.2579, allocations: 298.9 kB / 325.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/0.2757, allocations: 6.471 MB / 332 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.2759, allocations: 40.58 kB / 332 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009999/0.2769, allocations: 147.6 kB / 332.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00377/0.2807, allocations: 1.805 MB / 334 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.2953, allocations: 3.668 MB / 337.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06774/0.363, allocations: 44.99 MB / 382.7 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/0.3761, allocations: 1.942 MB / 384.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.3777, allocations: 0.5354 MB / 385.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005826/0.3783, allocations: 123.2 kB / 385.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/0.3784, allocations: 50.05 kB / 385.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 4.389e-06/0.3784, allocations: 0 / 385.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.04549/0.4239, allocations: 9.702 MB / 395 MB, free: 3.676 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.424, allocations: 141.2 kB / 395.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008604/0.4326, allocations: 4.363 MB / 399.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000351/0.4329, allocations: 41.7 kB / 399.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003611/0.4365, allocations: 3.502 MB / 403.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/0.4377, allocations: 0.619 MB / 403.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002472/0.4401, allocations: 1.488 MB / 405.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.4404, allocations: 476.8 kB / 405.6 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.442, allocations: 0.659 MB / 406.3 MB, free: 8.348 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007559/0.4496, allocations: 6.337 MB / 412.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.4604, allocations: 7.684 MB / 420.3 MB, free: 5.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001678/0.4605, allocations: 36 kB / 420.3 MB, free: 5.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01367/0.4742, allocations: 5.574 MB / 425.9 MB, free: 15.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.4743, allocations: 64 kB / 426 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/0.4745, allocations: 132 kB / 426.1 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/0.4769, allocations: 0.6294 MB / 426.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004486/0.4814, allocations: 1.326 MB / 428.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.4875, allocations: 3.355 MB / 431.4 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/0.4918, allocations: 339.5 kB / 431.7 MB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.4928, allocations: 376.5 kB / 432.1 MB, free: 9.344 MB / 394.7 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.002639/0.4954, allocations: 0.7317 MB / 432.8 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009677/0.4964, allocations: 351.4 kB / 433.2 MB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00482/0.5012, allocations: 1.481 MB / 434.7 MB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.5012, allocations: 19.98 kB / 434.7 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.5012, allocations: 4 kB / 434.7 MB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.5013, allocations: 11.86 kB / 434.7 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.5164, allocations: 5.706 MB / 440.4 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.5165, allocations: 0 / 440.4 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.5177, allocations: 223.7 kB / 440.6 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/0.5199, allocations: 453.2 kB / 441.1 MB, free: 320 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.5201, allocations: 39.97 kB / 441.1 MB, free: 280 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1397/0.6598, allocations: 3.036 MB / 444.1 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6598, allocations: 1.844 kB / 444.1 MB, free: 122.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005856/0.6656, allocations: 2.618 MB / 446.8 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009742/0.6666, allocations: 295 kB / 447.1 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/0.667, allocations: 27.86 kB / 447.1 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.6684, allocations: 98.78 kB / 447.2 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/0.6687, allocations: 99.86 kB / 447.3 MB, free: 121.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.6688, allocations: 49.77 kB / 447.3 MB, free: 121.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003276/0.6721, allocations: 1.753 MB / 449.1 MB, free: 121.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6721, allocations: 2.5 kB / 449.1 MB, free: 121.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005972/0.6781, allocations: 0.9472 MB / 450 MB, free: 121.7 MB / 394.7 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.0007526/0.6788, allocations: 172.1 kB / 450.2 MB, free: 121.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007219/0.686, allocations: 3.143 MB / 453.3 MB, free: 121.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.686, allocations: 1.344 kB / 453.3 MB, free: 121.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.6874, allocations: 0.761 MB / 454.1 MB, free: 120.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.6901, allocations: 403.2 kB / 454.5 MB, free: 120.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.7014, allocations: 6.874 MB / 461.4 MB, free: 118 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002276/0.7037, allocations: 2.284 MB / 463.6 MB, free: 117.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00325/0.7069, allocations: 1.562 MB / 465.2 MB, free: 117.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006727/0.7076, allocations: 254.7 kB / 465.5 MB, free: 117.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.034e-06/0.7076, allocations: 0 / 465.5 MB, free: 117.7 MB / 394.7 MB Notification: Performance of Templates: time 0.06178/0.7694, allocations: 29.13 MB / 494.6 MB, free: 92.79 MB / 394.7 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=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","/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.384153565973975]