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.001409/0.001409, allocations: 84.88 kB / 22 MB, free: 4.754 MB / 14.72 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.001685/0.001685, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 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.306/1.306, allocations: 158.6 MB / 187 MB, free: 6.34 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 59.92 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2143, allocations: 49.15 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01517/0.2294, allocations: 11.99 MB / 360.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.2396, allocations: 4.206 MB / 364.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003229/0.2428, allocations: 95.56 kB / 364.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007273/0.2501, allocations: 3.645 MB / 368.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.2559, allocations: 2.182 MB / 370.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.2576, allocations: 0.6902 MB / 371.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006317/0.2639, allocations: 4.408 MB / 375.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004801/0.2687, allocations: 3.713 MB / 379.4 MB, free: 440 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.2718, allocations: 1.943 MB / 381.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004187/0.276, allocations: 2.608 MB / 384 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009402/0.2769, allocations: 432 kB / 384.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.2792, allocations: 1.053 MB / 385.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002389/0.2815, allocations: 2.384 MB / 387.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002628/0.2842, allocations: 2.066 MB / 389.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.2948, allocations: 8.687 MB / 398.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2948, allocations: 0 / 398.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2948, allocations: 0 / 398.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002958/0.2951, allocations: 0 / 398.6 MB, free: 13.2 MB / 366.1 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.02202/0.3171, allocations: 6.651 MB / 405.3 MB, free: 6.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3172, allocations: 15.98 kB / 405.3 MB, free: 6.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007838/0.325, allocations: 2.076 MB / 407.3 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007836/0.3328, allocations: 2.768 MB / 410.1 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004509/0.3333, allocations: 303.8 kB / 410.4 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001952/0.3352, allocations: 407.8 kB / 410.8 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02774/0.363, allocations: 12.95 MB / 423.8 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002219/0.3632, allocations: 43.64 kB / 423.8 MB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001268/0.3645, allocations: 191.8 kB / 424 MB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005099/0.3696, allocations: 2.37 MB / 426.4 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02772/0.3973, allocations: 11.77 MB / 438.1 MB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2537/0.651, allocations: 45.45 MB / 483.6 MB, free: 79.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02018/0.6712, allocations: 5.136 MB / 488.7 MB, free: 79.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004176/0.6754, allocations: 3.224 MB / 491.9 MB, free: 78.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006407/0.676, allocations: 136 kB / 492.1 MB, free: 78.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.676, allocations: 54.81 kB / 492.1 MB, free: 78.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=221): time 5.129e-06/0.676, allocations: 0 / 492.1 MB, free: 78.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.07781/0.7538, allocations: 28.81 MB / 0.5087 GB, free: 56.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.7539, allocations: 158 kB / 0.5089 GB, free: 56.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004746/0.7587, allocations: 4.134 MB / 0.5129 GB, free: 52.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006653/0.7593, allocations: 65.7 kB / 0.513 GB, free: 52.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.7609, allocations: 3.749 MB / 0.5166 GB, free: 48.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/0.7621, allocations: 0.9949 MB / 0.5176 GB, free: 47.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001915/0.764, allocations: 1.556 MB / 0.5191 GB, free: 46.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.764, allocations: 301.1 kB / 0.5194 GB, free: 46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004371/0.7684, allocations: 3.465 MB / 0.5228 GB, free: 42.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006453/0.7748, allocations: 7.53 MB / 0.5302 GB, free: 33.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/0.7872, allocations: 11.85 MB / 0.5417 GB, free: 19.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001182/0.7873, allocations: 40 kB / 0.5418 GB, free: 19.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0183/0.8056, allocations: 11.89 MB / 0.5534 GB, free: 7.434 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.531e-05/0.8057, allocations: 67.91 kB / 0.5534 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/0.8058, allocations: 144.1 kB / 0.5536 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/0.8083, allocations: 1.132 MB / 0.5547 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005975/0.8143, allocations: 1.832 MB / 0.5565 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007238/0.8215, allocations: 6.174 MB / 0.5625 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006957/0.8285, allocations: 439.7 kB / 0.5629 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/0.8299, allocations: 483.8 kB / 0.5634 GB, free: 13.09 MB / 446.1 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.004479/0.8344, allocations: 2.453 MB / 0.5658 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009011/0.8353, allocations: 395.1 kB / 0.5662 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.8467, allocations: 6.475 MB / 0.5725 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.411e-05/0.8468, allocations: 24 kB / 0.5725 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.8468, allocations: 4 kB / 0.5725 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/0.8468, allocations: 15.95 kB / 0.5725 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02173/0.8685, allocations: 12 MB / 0.5842 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.8686, allocations: 8.031 kB / 0.5842 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003199/0.8718, allocations: 0.6162 MB / 0.5848 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/0.8745, allocations: 0.9566 MB / 0.5858 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003774/0.8749, allocations: 99.89 kB / 0.5859 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008776/0.8836, allocations: 5.914 MB / 0.5917 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.8837, allocations: 7.938 kB / 0.5917 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/0.9022, allocations: 10.94 MB / 0.6023 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002403/0.9046, allocations: 0.8172 MB / 0.6031 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008765/0.9055, allocations: 48 kB / 0.6032 GB, free: 4.082 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/0.9081, allocations: 187.7 kB / 0.6034 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/0.9086, allocations: 213.5 kB / 0.6036 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002933/0.9089, allocations: 127.9 kB / 0.6037 GB, free: 3.566 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00357/0.9125, allocations: 2.386 MB / 0.606 GB, free: 1.199 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9125, allocations: 0 / 0.606 GB, free: 1.199 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005451/0.9179, allocations: 1.261 MB / 0.6073 GB, free: 15.94 MB / 494.1 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.0005076/0.9184, allocations: 190.7 kB / 0.6074 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01309/0.9315, allocations: 7.897 MB / 0.6151 GB, free: 7.859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.9315, allocations: 4 kB / 0.6152 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005029/0.9365, allocations: 2.989 MB / 0.6181 GB, free: 4.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.9394, allocations: 454.3 kB / 0.6185 GB, free: 4.422 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/0.9617, allocations: 12.66 MB / 0.6309 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005173/0.9669, allocations: 3.28 MB / 0.6341 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005885/0.9727, allocations: 2.323 MB / 0.6363 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/0.9743, allocations: 472.1 kB / 0.6368 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of SimCode: time 1.011e-06/0.9743, allocations: 0 / 0.6368 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of Templates: time 0.275/1.249, allocations: 49.76 MB / 0.6854 GB, free: 197.9 MB / 0.5294 GB " [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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/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: 7.337894132942893]