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.001072/0.001072, allocations: 85.08 kB / 23 MB, free: 1.504 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.001239/0.001239, allocations: 172.8 kB / 26.39 MB, free: 8 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 1.013/1.013, allocations: 158.6 MB / 188.3 MB, free: 2.812 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.734e-06/1.734e-06, allocations: 0 / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.221e-05, allocations: 6.25 kB / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.009717/0.009749, allocations: 11.11 MB / 263.4 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007277/0.01703, allocations: 3.812 MB / 267.2 MB, free: 8.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.01937, allocations: 75.69 kB / 267.2 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004331/0.0237, allocations: 2.881 MB / 270.1 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005013/0.02871, allocations: 2.014 MB / 272.1 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.03013, allocations: 0.6354 MB / 272.8 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005086/0.03521, allocations: 4.115 MB / 276.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003458/0.03867, allocations: 3.205 MB / 280.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003567/0.04224, allocations: 2.42 MB / 282.5 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003156/0.04539, allocations: 2.233 MB / 284.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008087/0.0462, allocations: 340 kB / 285.1 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.04802, allocations: 1.014 MB / 286.1 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001779/0.0498, allocations: 2.069 MB / 288.2 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.05188, allocations: 1.293 MB / 289.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005164/0.05704, allocations: 4.573 MB / 294 MB, free: 13.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.05705, allocations: 0 / 294 MB, free: 13.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.05705, allocations: 0 / 294 MB, free: 13.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001948/0.05724, allocations: 0 / 294 MB, free: 13.28 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.007843/0.06509, allocations: 5.523 MB / 299.6 MB, free: 7.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.06514, allocations: 19.92 kB / 299.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.0686, allocations: 1.469 MB / 301 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.07133, allocations: 1.903 MB / 302.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.07146, allocations: 238.2 kB / 303.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005202/0.07198, allocations: 311.8 kB / 303.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007131/0.07911, allocations: 5.398 MB / 308.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.07922, allocations: 47.61 kB / 308.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000294/0.07951, allocations: 151.8 kB / 309.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001684/0.08119, allocations: 1.681 MB / 310.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005269/0.08646, allocations: 2.33 MB / 313.1 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1637/0.2502, allocations: 42.74 MB / 355.8 MB, free: 62.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/0.2527, allocations: 1.069 MB / 356.9 MB, free: 62.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004008/0.2531, allocations: 342 kB / 357.2 MB, free: 62.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003836/0.2569, allocations: 3.043 MB / 360.3 MB, free: 61.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2569, allocations: 47.11 kB / 360.3 MB, free: 61.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 4.429e-06/0.2569, allocations: 0 / 360.3 MB, free: 61.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.006342/0.2633, allocations: 2.899 MB / 363.2 MB, free: 60.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.2633, allocations: 145 kB / 363.4 MB, free: 60.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/0.2662, allocations: 3.632 MB / 367 MB, free: 59.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/0.2663, allocations: 40.39 kB / 367 MB, free: 59.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.2675, allocations: 3.601 MB / 370.6 MB, free: 57.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.2678, allocations: 0.5185 MB / 371.2 MB, free: 57.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009449/0.2688, allocations: 1.321 MB / 372.5 MB, free: 57.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.2688, allocations: 476.8 kB / 372.9 MB, free: 57.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008246/0.2697, allocations: 499.3 kB / 373.4 MB, free: 57.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.2721, allocations: 6.416 MB / 379.8 MB, free: 49.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003927/0.276, allocations: 7.592 MB / 387.4 MB, free: 40.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.827e-05/0.2761, allocations: 42.84 kB / 387.5 MB, free: 40.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.005397/0.2815, allocations: 4.777 MB / 392.3 MB, free: 36.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.2816, allocations: 68 kB / 392.3 MB, free: 36.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.2817, allocations: 140 kB / 392.5 MB, free: 36.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.282, allocations: 223.1 kB / 392.7 MB, free: 35.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.284, allocations: 1.351 MB / 394 MB, free: 34.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.2852, allocations: 2.061 MB / 396.1 MB, free: 32.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.2883, allocations: 275.7 kB / 396.4 MB, free: 32.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/0.2885, allocations: 336 kB / 396.7 MB, free: 31.92 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.001075/0.2896, allocations: 0.6596 MB / 397.3 MB, free: 31.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/0.2899, allocations: 349.8 kB / 397.7 MB, free: 30.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.2907, allocations: 0.6681 MB / 398.4 MB, free: 30.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.2907, allocations: 12 kB / 398.4 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2907, allocations: 4 kB / 398.4 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2907, allocations: 3.984 kB / 398.4 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.2949, allocations: 3.724 MB / 402.1 MB, free: 26.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2949, allocations: 0 / 402.1 MB, free: 26.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.2953, allocations: 163.8 kB / 402.3 MB, free: 26.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/0.2955, allocations: 54.56 kB / 402.3 MB, free: 26.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.2955, allocations: 20 kB / 402.3 MB, free: 26.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006182/0.2962, allocations: 1.787 MB / 404.1 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2962, allocations: 7.938 kB / 404.1 MB, free: 24.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.2974, allocations: 1.615 MB / 405.7 MB, free: 22.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/0.2978, allocations: 389.6 kB / 406.1 MB, free: 22.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.298, allocations: 15.94 kB / 406.1 MB, free: 22.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/0.2985, allocations: 24 kB / 406.2 MB, free: 22.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.2986, allocations: 68.31 kB / 406.2 MB, free: 22.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.2987, allocations: 35.97 kB / 406.3 MB, free: 22.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.2997, allocations: 1.443 MB / 407.7 MB, free: 20.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2997, allocations: 0 / 407.7 MB, free: 20.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003579/0.3033, allocations: 0.9178 MB / 408.6 MB, free: 19.72 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.0003105/0.3036, allocations: 171 kB / 408.8 MB, free: 19.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003005/0.3066, allocations: 2.526 MB / 411.3 MB, free: 17.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3066, allocations: 4 kB / 411.3 MB, free: 17.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.307, allocations: 474.7 kB / 411.8 MB, free: 16.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.3084, allocations: 386.1 kB / 412.2 MB, free: 16.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008899/0.3173, allocations: 7.063 MB / 419.2 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/0.3182, allocations: 1.201 MB / 420.4 MB, free: 7.797 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00118/0.3193, allocations: 474.8 kB / 420.9 MB, free: 7.336 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005542/0.3199, allocations: 0.5372 MB / 421.4 MB, free: 6.797 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3199, allocations: 0 / 421.4 MB, free: 6.797 MB / 330.7 MB Notification: Performance of Templates: time 0.04184/0.3617, allocations: 24.64 MB / 446.1 MB, free: 14.2 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.9155652951449156]