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.001459/0.001459, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001169/0.001169, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.9842/0.9842, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.084e-06/2.084e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.858e-05, allocations: 6.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.009165/0.009193, allocations: 11.1 MB / 262.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007315/0.01651, allocations: 3.82 MB / 266.4 MB, free: 8.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.01849, allocations: 83.62 kB / 266.5 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003757/0.02225, allocations: 2.862 MB / 269.3 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004702/0.02695, allocations: 2.03 MB / 271.4 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.02821, allocations: 0.6276 MB / 272 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004738/0.03295, allocations: 4.119 MB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003835/0.03679, allocations: 3.205 MB / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00545/0.04224, allocations: 2.417 MB / 281.7 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004017/0.04625, allocations: 2.237 MB / 284 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001248/0.0475, allocations: 340 kB / 284.3 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.05006, allocations: 1.018 MB / 285.3 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002637/0.0527, allocations: 2.065 MB / 287.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.05484, allocations: 1.285 MB / 288.7 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006179/0.06102, allocations: 4.577 MB / 293.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.06102, allocations: 0 / 293.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.06103, allocations: 0 / 293.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001816/0.06121, allocations: 0 / 293.2 MB, free: 13.27 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.009015/0.07022, allocations: 5.523 MB / 298.8 MB, free: 7.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.07028, allocations: 19.98 kB / 298.8 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/0.07391, allocations: 1.469 MB / 300.3 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.07708, allocations: 1.903 MB / 302.2 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.07724, allocations: 238.2 kB / 302.4 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004799/0.07772, allocations: 311.8 kB / 302.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008148/0.08587, allocations: 5.394 MB / 308.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.08598, allocations: 51.56 kB / 308.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002832/0.08626, allocations: 163.8 kB / 308.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001512/0.08777, allocations: 1.677 MB / 310 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004873/0.09264, allocations: 2.326 MB / 312.3 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1792/0.2719, allocations: 42.75 MB / 355.1 MB, free: 62.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/0.2745, allocations: 1.06 MB / 356.1 MB, free: 62.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004135/0.2749, allocations: 342 kB / 356.4 MB, free: 62.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004204/0.2791, allocations: 3.048 MB / 359.5 MB, free: 61.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.2792, allocations: 47.64 kB / 359.5 MB, free: 61.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 4.489e-06/0.2792, allocations: 0 / 359.5 MB, free: 61.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.006905/0.2861, allocations: 2.906 MB / 362.4 MB, free: 60.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.2861, allocations: 140.4 kB / 362.6 MB, free: 60.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/0.2892, allocations: 3.627 MB / 366.2 MB, free: 59.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.2893, allocations: 42.55 kB / 366.3 MB, free: 59.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.2906, allocations: 3.601 MB / 369.9 MB, free: 57.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.2909, allocations: 0.5159 MB / 370.4 MB, free: 57.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009357/0.2919, allocations: 1.322 MB / 371.7 MB, free: 57.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.2919, allocations: 476.8 kB / 372.2 MB, free: 57.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007635/0.2927, allocations: 0.4998 MB / 372.7 MB, free: 57.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002838/0.2955, allocations: 6.415 MB / 379.1 MB, free: 49.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/0.2998, allocations: 7.585 MB / 386.7 MB, free: 40.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.299e-05/0.2999, allocations: 40 kB / 386.7 MB, free: 40.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.005627/0.3055, allocations: 4.778 MB / 391.5 MB, free: 36.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.3056, allocations: 68 kB / 391.5 MB, free: 36.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.3057, allocations: 144.1 kB / 391.7 MB, free: 36.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/0.306, allocations: 227 kB / 391.9 MB, free: 35.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.308, allocations: 1.35 MB / 393.3 MB, free: 34.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008965/0.3089, allocations: 2.056 MB / 395.3 MB, free: 32.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/0.3117, allocations: 275.7 kB / 395.6 MB, free: 32.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003765/0.3121, allocations: 328 kB / 395.9 MB, free: 31.93 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.001675/0.3137, allocations: 0.6661 MB / 396.6 MB, free: 31.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007509/0.3145, allocations: 353.8 kB / 396.9 MB, free: 30.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009406/0.3154, allocations: 0.6635 MB / 397.6 MB, free: 30.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.3155, allocations: 12 kB / 397.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3155, allocations: 8 kB / 397.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.3155, allocations: 3.984 kB / 397.6 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005055/0.3205, allocations: 3.717 MB / 401.3 MB, free: 26.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.3205, allocations: 7.5 kB / 401.3 MB, free: 26.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.3209, allocations: 163.8 kB / 401.5 MB, free: 26.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/0.3211, allocations: 47.58 kB / 401.5 MB, free: 26.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.3211, allocations: 24.2 kB / 401.5 MB, free: 26.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007301/0.3219, allocations: 1.789 MB / 403.3 MB, free: 24.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3219, allocations: 4 kB / 403.3 MB, free: 24.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.3235, allocations: 1.622 MB / 405 MB, free: 22.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.3241, allocations: 385.6 kB / 405.3 MB, free: 22.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.3243, allocations: 27.92 kB / 405.4 MB, free: 22.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.3247, allocations: 16 kB / 405.4 MB, free: 22.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3248, allocations: 72.38 kB / 405.5 MB, free: 22.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.3249, allocations: 24 kB / 405.5 MB, free: 22.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001152/0.326, allocations: 1.436 MB / 406.9 MB, free: 20.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.326, allocations: 4 kB / 406.9 MB, free: 20.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003437/0.3295, allocations: 0.9178 MB / 407.8 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.0003058/0.3298, allocations: 177.8 kB / 408 MB, free: 19.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002945/0.3327, allocations: 2.53 MB / 410.5 MB, free: 17.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3327, allocations: 0 / 410.5 MB, free: 17.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.3331, allocations: 481.9 kB / 411 MB, free: 16.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.3346, allocations: 384.9 kB / 411.4 MB, free: 16.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008958/0.3435, allocations: 7.049 MB / 418.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008755/0.3444, allocations: 1.201 MB / 419.6 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001275/0.3457, allocations: 485.7 kB / 420.1 MB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000613/0.3463, allocations: 0.5353 MB / 420.6 MB, free: 6.797 MB / 330.7 MB Notification: Performance of SimCode: time 1.954e-06/0.3463, allocations: 4 kB / 420.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of Templates: time 0.0499/0.3962, allocations: 24.14 MB / 444.8 MB, free: 14.7 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.8611175511032343]