Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.0009888/0.0009888, allocations: 91.62 kB / 22.19 MB, free: 2.348 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.0009242/0.0009242, allocations: 155.5 kB / 25.44 MB, free: 9.367 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.8383/0.8383, allocations: 158.6 MB / 187.2 MB, free: 3.059 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.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 299.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.108e-05, allocations: 2.281 kB / 299.7 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01113/0.01115, allocations: 12.02 MB / 311.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0081/0.01925, allocations: 4.19 MB / 315.9 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.02103, allocations: 95.56 kB / 316 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0052/0.02623, allocations: 3.839 MB / 319.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.03071, allocations: 2.239 MB / 322.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.03214, allocations: 0.7445 MB / 322.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004725/0.03686, allocations: 4.804 MB / 327.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00358/0.04044, allocations: 3.994 MB / 331.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003601/0.04404, allocations: 2.904 MB / 334.5 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.04668, allocations: 2.657 MB / 337.2 MB, free: 1.332 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005969/0.04728, allocations: 440 kB / 337.6 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.04875, allocations: 1.112 MB / 338.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001372/0.05012, allocations: 2.485 MB / 341.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.05179, allocations: 1.616 MB / 342.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007429/0.05922, allocations: 8.66 MB / 351.5 MB, free: 2.984 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.05923, allocations: 0 / 351.5 MB, free: 2.984 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.05923, allocations: 8 kB / 351.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001541/0.05938, allocations: 0 / 351.5 MB, free: 2.977 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.1646/0.224, allocations: 6.638 MB / 358.1 MB, free: 56.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.2241, allocations: 12.45 kB / 358.1 MB, free: 56.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004594/0.2287, allocations: 2.058 MB / 360.2 MB, free: 56.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/0.2324, allocations: 2.733 MB / 362.9 MB, free: 55.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.2326, allocations: 308.6 kB / 363.2 MB, free: 55.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000529/0.2331, allocations: 409.4 kB / 363.6 MB, free: 55.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.2451, allocations: 12.96 MB / 376.6 MB, free: 43.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.602e-05/0.2452, allocations: 47.59 kB / 376.6 MB, free: 43.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003438/0.2456, allocations: 200.6 kB / 376.8 MB, free: 43.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001962/0.2475, allocations: 2.372 MB / 379.2 MB, free: 41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.2597, allocations: 11.8 MB / 391 MB, free: 29.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03137/0.2911, allocations: 45.55 MB / 436.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009087/0.3002, allocations: 5.163 MB / 441.7 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002585/0.3028, allocations: 3.228 MB / 444.9 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.3031, allocations: 149 kB / 445.1 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3031, allocations: 55.81 kB / 445.1 MB, free: 6.188 MB / 362.7 MB Notification: Performance of pre-optimization done (n=221): time 4.388e-06/0.3031, allocations: 0 / 445.1 MB, free: 6.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=252): time 0.04396/0.3471, allocations: 28.92 MB / 474.1 MB, free: 9.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.3471, allocations: 166.5 kB / 474.2 MB, free: 9.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.3513, allocations: 4.248 MB / 478.5 MB, free: 4.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002387/0.3516, allocations: 69.7 kB / 478.6 MB, free: 4.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.3531, allocations: 3.723 MB / 482.3 MB, free: 1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009475/0.354, allocations: 0.9767 MB / 483.3 MB, free: 16 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/0.3555, allocations: 1.526 MB / 484.8 MB, free: 14.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.3556, allocations: 305.1 kB / 485.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/0.3587, allocations: 3.473 MB / 488.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005386/0.3641, allocations: 7.552 MB / 496.1 MB, free: 1.148 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009446/0.3735, allocations: 11.86 MB / 0.4961 GB, free: 3.285 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.441e-05/0.3736, allocations: 44 kB / 0.4961 GB, free: 3.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0126/0.3862, allocations: 11.9 MB / 0.5077 GB, free: 7.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.417e-05/0.3863, allocations: 65 kB / 0.5078 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/0.3864, allocations: 144 kB / 0.5079 GB, free: 7.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.3881, allocations: 1.132 MB / 0.509 GB, free: 5.992 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00362/0.3917, allocations: 1.836 MB / 0.5108 GB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1862/0.5779, allocations: 6.171 MB / 0.5168 GB, free: 145.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/0.5819, allocations: 468.2 kB / 0.5173 GB, free: 145.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005205/0.5824, allocations: 483.3 kB / 0.5177 GB, free: 145.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (875): * Single equations (assignments): 871 * 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.003349/0.5857, allocations: 2.452 MB / 0.5201 GB, free: 145.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006504/0.5864, allocations: 387.2 kB / 0.5205 GB, free: 145.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006854/0.5932, allocations: 6.489 MB / 0.5268 GB, free: 143.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.05e-05/0.5933, allocations: 32.27 kB / 0.5269 GB, free: 143.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.5933, allocations: 3.844 kB / 0.5269 GB, free: 143.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.5933, allocations: 14.25 kB / 0.5269 GB, free: 143.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.6056, allocations: 12.09 MB / 0.5387 GB, free: 139.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.6057, allocations: 3.312 kB / 0.5387 GB, free: 139.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.6071, allocations: 0.6167 MB / 0.5393 GB, free: 139.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/0.6084, allocations: 0.9556 MB / 0.5402 GB, free: 139 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.6085, allocations: 106.8 kB / 0.5403 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004065/0.6126, allocations: 5.908 MB / 0.5461 GB, free: 134.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6126, allocations: 4.688 kB / 0.5461 GB, free: 134.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008543/0.6211, allocations: 10.96 MB / 0.5568 GB, free: 124 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.6227, allocations: 0.8484 MB / 0.5576 GB, free: 123.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/0.623, allocations: 48 kB / 0.5577 GB, free: 123.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.6241, allocations: 218.4 kB / 0.5579 GB, free: 123.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/0.6245, allocations: 219 kB / 0.5581 GB, free: 122.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.6246, allocations: 124.8 kB / 0.5582 GB, free: 122.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002237/0.6269, allocations: 2.468 MB / 0.5606 GB, free: 120.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6269, allocations: 0 / 0.5606 GB, free: 120.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00393/0.6308, allocations: 1.331 MB / 0.5619 GB, free: 119 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.0004659/0.6312, allocations: 214.8 kB / 0.5621 GB, free: 118.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006937/0.6382, allocations: 7.919 MB / 0.5699 GB, free: 111 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.6382, allocations: 192 / 0.5699 GB, free: 111 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.6407, allocations: 3.002 MB / 0.5728 GB, free: 108 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.6426, allocations: 441.3 kB / 0.5732 GB, free: 107.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.6558, allocations: 13.08 MB / 0.586 GB, free: 94.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/0.6582, allocations: 3.277 MB / 0.5892 GB, free: 91.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/0.6601, allocations: 0.5079 MB / 0.5897 GB, free: 90.61 MB / 442.7 MB Notification: Performance of SimCode: time 2.716e-06/0.6601, allocations: 0 / 0.5897 GB, free: 90.61 MB / 442.7 MB Notification: Performance of Templates: time 0.2521/0.9122, allocations: 99.39 MB / 0.6868 GB, free: 139 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.343003769405186]