Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 165.7 kB / 25.69 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9083/0.9083, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 251.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.195e-05, allocations: 6.25 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.008509/0.008531, allocations: 11.17 MB / 262.7 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005975/0.01451, allocations: 3.963 MB / 266.7 MB, free: 8.043 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008062/0.01531, allocations: 79.62 kB / 266.8 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.0179, allocations: 2.857 MB / 269.6 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002447/0.02035, allocations: 1.994 MB / 271.6 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.02108, allocations: 0.6353 MB / 272.3 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003172/0.02425, allocations: 4.125 MB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002644/0.02689, allocations: 3.159 MB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.02908, allocations: 2.378 MB / 281.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.03078, allocations: 2.139 MB / 284.1 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003181/0.03109, allocations: 340 kB / 284.4 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.03216, allocations: 1.038 MB / 285.4 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.03321, allocations: 2.065 MB / 287.5 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008776/0.03409, allocations: 1.293 MB / 288.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.03699, allocations: 4.573 MB / 293.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.037, allocations: 0 / 293.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.037, allocations: 0 / 293.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.262e-05/0.03704, allocations: 0 / 293.4 MB, free: 13.21 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.004183/0.04122, allocations: 4.674 MB / 298 MB, free: 8.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.04125, allocations: 11.98 kB / 298 MB, free: 8.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.04372, allocations: 1.101 MB / 299.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.04537, allocations: 1.766 MB / 300.9 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.04548, allocations: 242.2 kB / 301.2 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.04581, allocations: 315.8 kB / 301.5 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00429/0.0501, allocations: 4.845 MB / 306.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.584e-05/0.05016, allocations: 39.64 kB / 306.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/0.0504, allocations: 151.8 kB / 306.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00132/0.05172, allocations: 1.681 MB / 308.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003191/0.05491, allocations: 2.376 MB / 310.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01882/0.07373, allocations: 30.64 MB / 341.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.07593, allocations: 1.112 MB / 342.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.07625, allocations: 276.3 kB / 342.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003076/0.07933, allocations: 2.885 MB / 345.5 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.07936, allocations: 47.05 kB / 345.5 MB, free: 6.926 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 2.595e-06/0.07936, allocations: 0 / 345.5 MB, free: 6.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.004942/0.0843, allocations: 2.586 MB / 348.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.08435, allocations: 141 kB / 348.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.08651, allocations: 3.247 MB / 351.5 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.08656, allocations: 41.7 kB / 351.5 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1195/0.206, allocations: 3.211 MB / 354.7 MB, free: 94.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006851/0.2067, allocations: 0.4985 MB / 355.2 MB, free: 94.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.2078, allocations: 1.128 MB / 356.4 MB, free: 94.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.498e-05/0.2079, allocations: 310.5 kB / 356.7 MB, free: 94.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.209, allocations: 0.6803 MB / 357.3 MB, free: 93.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.211, allocations: 4.506 MB / 361.8 MB, free: 88.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003776/0.2147, allocations: 5.74 MB / 367.6 MB, free: 83.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/0.2148, allocations: 42.44 kB / 367.6 MB, free: 83.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.004918/0.2198, allocations: 4.06 MB / 371.7 MB, free: 82.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/0.2198, allocations: 67.72 kB / 371.8 MB, free: 82.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/0.2199, allocations: 139.7 kB / 371.9 MB, free: 82.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/0.2203, allocations: 225.1 kB / 372.1 MB, free: 82.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.2225, allocations: 1.41 MB / 373.5 MB, free: 81.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000842/0.2233, allocations: 1.524 MB / 375 MB, free: 80.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.2258, allocations: 278 kB / 375.3 MB, free: 79.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003261/0.2262, allocations: 327.5 kB / 375.6 MB, free: 79.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 647 * Number of states: 0 () * Number of discrete variables: 36 (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 (743): * Single equations (assignments): 739 * 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.001149/0.2273, allocations: 0.6162 MB / 376.3 MB, free: 79.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.2277, allocations: 192.4 kB / 376.4 MB, free: 79.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007342/0.2284, allocations: 0.6015 MB / 377 MB, free: 78.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.2284, allocations: 16 kB / 377.1 MB, free: 78.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2284, allocations: 0 / 377.1 MB, free: 78.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.2284, allocations: 3.609 kB / 377.1 MB, free: 78.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003704/0.2321, allocations: 3.078 MB / 380.1 MB, free: 76.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.2321, allocations: 4 kB / 380.1 MB, free: 76.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.2326, allocations: 183.9 kB / 380.3 MB, free: 76.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.2328, allocations: 49.33 kB / 380.4 MB, free: 76.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.2328, allocations: 18.02 kB / 380.4 MB, free: 76.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007494/0.2336, allocations: 1.442 MB / 381.8 MB, free: 75.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2336, allocations: 4 kB / 381.8 MB, free: 75.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.2347, allocations: 1.334 MB / 383.2 MB, free: 73.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004901/0.2352, allocations: 362.7 kB / 383.5 MB, free: 73.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.2354, allocations: 23.62 kB / 383.5 MB, free: 73.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.236, allocations: 20.81 kB / 383.6 MB, free: 73.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.2361, allocations: 76.2 kB / 383.6 MB, free: 73.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.2361, allocations: 27.7 kB / 383.7 MB, free: 73.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001016/0.2371, allocations: 1.167 MB / 384.8 MB, free: 72.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2371, allocations: 0 / 384.8 MB, free: 72.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003214/0.2404, allocations: 0.9228 MB / 385.8 MB, free: 71.55 MB / 330.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 (92): * Single equations (assignments): 88 * 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.0003194/0.2407, allocations: 158.4 kB / 385.9 MB, free: 71.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.2435, allocations: 2.302 MB / 388.2 MB, free: 69.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001813/0.2437, allocations: 96.16 kB / 388.3 MB, free: 69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.2441, allocations: 388.3 kB / 388.7 MB, free: 68.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.2463, allocations: 0.5796 MB / 389.3 MB, free: 68.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009213/0.2555, allocations: 6.94 MB / 396.2 MB, free: 61.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.2565, allocations: 1.194 MB / 397.4 MB, free: 59.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001244/0.2578, allocations: 484.1 kB / 397.9 MB, free: 59.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006237/0.2584, allocations: 0.4973 MB / 398.4 MB, free: 58.84 MB / 330.7 MB Notification: Performance of SimCode: time 2.675e-06/0.2584, allocations: 3.938 kB / 398.4 MB, free: 58.84 MB / 330.7 MB Notification: Performance of Templates: time 0.03735/0.2957, allocations: 24.02 MB / 422.4 MB, free: 34.87 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.711953042075038]