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.001434/0.001434, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001892/0.001892, allocations: 168.3 kB / 25.33 MB, free: 9.445 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.9281/0.9281, allocations: 158.6 MB / 187.2 MB, free: 2.562 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 2.265e-06/2.265e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.409e-05, allocations: 5.406 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01072/0.01075, allocations: 11.46 MB / 262.5 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006989/0.01774, allocations: 3.852 MB / 266.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.01952, allocations: 75.69 kB / 266.4 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003799/0.02332, allocations: 2.924 MB / 269.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004931/0.02825, allocations: 2.014 MB / 271.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.02957, allocations: 0.6354 MB / 272 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004656/0.03423, allocations: 4.116 MB / 276.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003764/0.03799, allocations: 3.201 MB / 279.3 MB, free: 7.156 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.04192, allocations: 2.417 MB / 281.7 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.04506, allocations: 2.248 MB / 284 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.04636, allocations: 336 kB / 284.3 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.04843, allocations: 1.018 MB / 285.3 MB, free: 1.133 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002441/0.05087, allocations: 2.073 MB / 287.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002796/0.05367, allocations: 1.289 MB / 288.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006231/0.0599, allocations: 4.577 MB / 293.3 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.0599, allocations: 0 / 293.3 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05991, allocations: 0 / 293.3 MB, free: 9.168 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001577/0.06006, allocations: 0 / 293.3 MB, free: 9.168 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.008901/0.06897, allocations: 5.669 MB / 298.9 MB, free: 3.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.06902, allocations: 15.98 kB / 299 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005076/0.07409, allocations: 2.381 MB / 301.3 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1224/0.1965, allocations: 2.083 MB / 303.4 MB, free: 49.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.1967, allocations: 240.8 kB / 303.7 MB, free: 49.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007302/0.1975, allocations: 312.1 kB / 304 MB, free: 49.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.2099, allocations: 5.893 MB / 309.8 MB, free: 46.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001811/0.2101, allocations: 41.06 kB / 309.9 MB, free: 46.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003384/0.2104, allocations: 159.4 kB / 310 MB, free: 46.88 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001991/0.2124, allocations: 1.866 MB / 311.9 MB, free: 46.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006958/0.2194, allocations: 2.925 MB / 314.8 MB, free: 46.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0288/0.2482, allocations: 43.19 MB / 358 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003402/0.2516, allocations: 1.208 MB / 359.2 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006298/0.2522, allocations: 420 kB / 359.6 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004482/0.2567, allocations: 3.208 MB / 362.9 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.2567, allocations: 53.8 kB / 362.9 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=113): time 4.057e-06/0.2567, allocations: 0 / 362.9 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of matching and sorting (n=114): time 0.01137/0.2681, allocations: 5.895 MB / 368.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.2682, allocations: 149 kB / 368.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004693/0.2729, allocations: 3.643 MB / 372.6 MB, free: 6.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/0.273, allocations: 41.7 kB / 372.6 MB, free: 6.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/0.2752, allocations: 3.564 MB / 376.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000492/0.2757, allocations: 0.525 MB / 376.7 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.2771, allocations: 1.295 MB / 378 MB, free: 1.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.2772, allocations: 476.8 kB / 378.5 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.2785, allocations: 0.5502 MB / 379 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/0.283, allocations: 6.434 MB / 385.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006804/0.2898, allocations: 7.714 MB / 393.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/0.2899, allocations: 43.94 kB / 393.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.007685/0.2975, allocations: 5.088 MB / 398.3 MB, free: 7.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-05/0.2976, allocations: 64 kB / 398.4 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/0.2978, allocations: 144.9 kB / 398.5 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/0.2982, allocations: 231.6 kB / 398.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.3007, allocations: 1.38 MB / 400.1 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.302, allocations: 2.091 MB / 402.2 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.3047, allocations: 355.6 kB / 402.6 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003868/0.305, allocations: 378 kB / 402.9 MB, free: 3.074 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.001524/0.3066, allocations: 0.6613 MB / 403.6 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/0.307, allocations: 349.9 kB / 403.9 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009908/0.308, allocations: 0.722 MB / 404.6 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.308, allocations: 16.86 kB / 404.7 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.308, allocations: 0 / 404.7 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.308, allocations: 3.984 kB / 404.7 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/0.3132, allocations: 3.771 MB / 408.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.3133, allocations: 8.031 kB / 408.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.3138, allocations: 191.7 kB / 408.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.314, allocations: 51.62 kB / 408.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.3141, allocations: 20 kB / 408.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009372/0.315, allocations: 1.826 MB / 410.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.315, allocations: 7.938 kB / 410.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.3168, allocations: 1.72 MB / 412.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006297/0.3174, allocations: 429.6 kB / 412.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.3176, allocations: 32.78 kB / 412.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.3182, allocations: 83.88 kB / 412.8 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.3183, allocations: 76.3 kB / 412.9 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.3184, allocations: 37.02 kB / 412.9 MB, free: 8.828 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001706/0.3201, allocations: 1.542 MB / 414.4 MB, free: 7.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3201, allocations: 0 / 414.4 MB, free: 7.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003241/0.3233, allocations: 0.9174 MB / 415.4 MB, free: 6.387 MB / 346.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.0003319/0.3237, allocations: 185.4 kB / 415.5 MB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00351/0.3272, allocations: 2.675 MB / 418.2 MB, free: 3.516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3272, allocations: 4.062 kB / 418.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.3277, allocations: 0.4981 MB / 418.7 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3289, allocations: 375 kB / 419.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009374/0.3382, allocations: 7.084 MB / 426.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.3393, allocations: 1.209 MB / 427.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002402/0.3417, allocations: 1.59 MB / 429 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.3421, allocations: 216.5 kB / 429.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of SimCode: time 1.974e-06/0.3421, allocations: 0 / 429.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of Templates: time 0.141/0.4831, allocations: 22.36 MB / 451.5 MB, free: 109.8 MB / 362.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 -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.821379923261702]