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.0009971/0.0009971, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009661/0.0009661, allocations: 161.1 kB / 24.99 MB, free: 8.219 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.9196/0.9196, allocations: 177 MB / 205.2 MB, free: 5.559 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.022e-06/1.022e-06, allocations: 0 / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.582e-05, allocations: 2.312 kB / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.008463/0.008479, allocations: 10.69 MB / 283.7 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005342/0.01382, allocations: 3.753 MB / 287.4 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008794/0.0147, allocations: 71.69 kB / 287.5 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002962/0.01766, allocations: 2.877 MB / 290.4 MB, free: 272 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1219/0.1396, allocations: 1.865 MB / 292.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.1408, allocations: 0.6329 MB / 292.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004759/0.1456, allocations: 3.968 MB / 296.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003996/0.1496, allocations: 3.084 MB / 299.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.1527, allocations: 2.208 MB / 302.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.1552, allocations: 2.177 MB / 304.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007919/0.156, allocations: 322.7 kB / 304.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.1573, allocations: 0.9906 MB / 305.6 MB, free: 12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.1584, allocations: 1.924 MB / 307.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.1597, allocations: 1.207 MB / 308.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.1629, allocations: 4.28 MB / 313 MB, free: 7.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1629, allocations: 0 / 313 MB, free: 7.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1629, allocations: 0 / 313 MB, free: 7.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.603e-05/0.163, allocations: 0 / 313 MB, free: 7.586 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.007792/0.1708, allocations: 5.616 MB / 318.6 MB, free: 2.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1708, allocations: 15.98 kB / 318.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00376/0.1746, allocations: 2.318 MB / 321 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.1766, allocations: 2.019 MB / 323 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.1767, allocations: 227.2 kB / 323.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.1771, allocations: 297.9 kB / 323.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007261/0.1843, allocations: 6.022 MB / 329.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.1844, allocations: 42.05 kB / 329.6 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/0.1848, allocations: 145.9 kB / 329.7 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001864/0.1866, allocations: 1.807 MB / 331.5 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006959/0.1936, allocations: 3.307 MB / 334.8 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02548/0.2191, allocations: 41.68 MB / 376.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006389/0.2255, allocations: 1.839 MB / 378.4 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.2261, allocations: 488.5 kB / 378.8 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.2264, allocations: 128.4 kB / 379 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2264, allocations: 53.98 kB / 379 MB, free: 4.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 3.297e-06/0.2264, allocations: 0 / 379 MB, free: 4.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=133): time 0.02196/0.2484, allocations: 9.454 MB / 388.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.2484, allocations: 153.1 kB / 388.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/0.2517, allocations: 3.43 MB / 392 MB, free: 7.352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.78e-05/0.2517, allocations: 49.7 kB / 392.1 MB, free: 7.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.2535, allocations: 3.287 MB / 395.4 MB, free: 4.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004245/0.2539, allocations: 0.5828 MB / 396 MB, free: 3.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/0.255, allocations: 1.267 MB / 397.2 MB, free: 2.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.2551, allocations: 476.8 kB / 397.7 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.2561, allocations: 0.5887 MB / 398.3 MB, free: 1.102 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003704/0.2598, allocations: 6.06 MB / 404.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00534/0.2652, allocations: 7.36 MB / 411.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.456e-05/0.2652, allocations: 36 kB / 411.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.007208/0.2724, allocations: 5.41 MB / 417.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.399e-05/0.2725, allocations: 60 kB / 417.2 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.953e-05/0.2726, allocations: 132 kB / 417.3 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.2738, allocations: 0.6291 MB / 418 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/0.276, allocations: 1.322 MB / 419.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.279, allocations: 3.23 MB / 422.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.2812, allocations: 335.6 kB / 422.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000308/0.2815, allocations: 376 kB / 423.2 MB, free: 3 MB / 378.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.001372/0.2829, allocations: 0.6379 MB / 423.8 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003828/0.2833, allocations: 352 kB / 424.2 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.2855, allocations: 1.395 MB / 425.6 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.2855, allocations: 20 kB / 425.6 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2855, allocations: 4 kB / 425.6 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.2855, allocations: 11.92 kB / 425.6 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006467/0.292, allocations: 4.727 MB / 430.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.292, allocations: 0 / 430.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.2925, allocations: 227.6 kB / 430.6 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.2939, allocations: 441.9 kB / 431 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/0.2939, allocations: 35.97 kB / 431 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.2965, allocations: 2.94 MB / 434 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2965, allocations: 0 / 434 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.2995, allocations: 2.404 MB / 436.4 MB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/0.2999, allocations: 297.8 kB / 436.7 MB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.3001, allocations: 20 kB / 436.7 MB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/0.3008, allocations: 102.7 kB / 436.8 MB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.3009, allocations: 104.3 kB / 436.9 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.228e-05/0.301, allocations: 51.97 kB / 436.9 MB, free: 5.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001791/0.3028, allocations: 1.462 MB / 438.4 MB, free: 3.578 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3028, allocations: 4 kB / 438.4 MB, free: 3.574 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002903/0.3057, allocations: 0.9452 MB / 439.4 MB, free: 2.629 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.0003146/0.306, allocations: 157.2 kB / 439.5 MB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.1102/0.4162, allocations: 2.801 MB / 442.3 MB, free: 134.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.4162, allocations: 0 / 442.3 MB, free: 134.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.4173, allocations: 0.6702 MB / 443 MB, free: 134.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.419, allocations: 396.2 kB / 443.4 MB, free: 134.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008809/0.4278, allocations: 6.767 MB / 450.1 MB, free: 132 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.4289, allocations: 1.144 MB / 451.3 MB, free: 131.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002238/0.4311, allocations: 1.558 MB / 452.8 MB, free: 131.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.4315, allocations: 253.4 kB / 453.1 MB, free: 131.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4315, allocations: 4 kB / 453.1 MB, free: 131.7 MB / 394.7 MB Notification: Performance of Templates: time 0.03886/0.4704, allocations: 29.28 MB / 482.4 MB, free: 110.5 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.770027092890814]