Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 145.7 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8581/0.8581, allocations: 173.4 MB / 201.5 MB, free: 8.27 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 268.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.458e-05, allocations: 5.406 kB / 268.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01165/0.01167, allocations: 12.4 MB / 280.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007386/0.01905, allocations: 4.35 MB / 285.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.02011, allocations: 99.5 kB / 285.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004877/0.02498, allocations: 4.002 MB / 289.3 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.02831, allocations: 2.173 MB / 291.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.02941, allocations: 0.7445 MB / 292.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003987/0.0334, allocations: 4.613 MB / 296.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00336/0.03676, allocations: 4.113 MB / 301 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.03972, allocations: 2.943 MB / 303.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.04207, allocations: 2.4 MB / 306.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004493/0.04252, allocations: 404 kB / 306.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.04374, allocations: 1.088 MB / 307.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002142/0.04589, allocations: 2.396 MB / 310.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.04743, allocations: 1.534 MB / 311.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005196/0.05263, allocations: 5.165 MB / 316.9 MB, free: 9.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.05264, allocations: 0 / 316.9 MB, free: 9.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.05264, allocations: 0 / 316.9 MB, free: 9.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.554e-05/0.05267, allocations: 0 / 316.9 MB, free: 9.152 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.007524/0.0602, allocations: 5.508 MB / 322.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.06022, allocations: 12.02 kB / 322.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.06259, allocations: 1.175 MB / 323.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.06479, allocations: 2.038 MB / 325.6 MB, free: 316 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.06492, allocations: 299.6 kB / 325.9 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.06532, allocations: 383.8 kB / 326.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005229/0.07055, allocations: 5.66 MB / 332 MB, free: 9.234 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.16e-05/0.07063, allocations: 51.52 kB / 332 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/0.07093, allocations: 179.8 kB / 332.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001415/0.07234, allocations: 1.839 MB / 334 MB, free: 7.168 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003785/0.07613, allocations: 2.809 MB / 336.8 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1251/0.2012, allocations: 34.56 MB / 371.4 MB, free: 56.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/0.2047, allocations: 1.603 MB / 373 MB, free: 56.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/0.2051, allocations: 396.7 kB / 373.4 MB, free: 56.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004224/0.2093, allocations: 3.98 MB / 377.4 MB, free: 55.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2093, allocations: 47.81 kB / 377.4 MB, free: 55.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 3.156e-06/0.2093, allocations: 0 / 377.4 MB, free: 55.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01077/0.2201, allocations: 5.536 MB / 383 MB, free: 55.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.2201, allocations: 149 kB / 383.1 MB, free: 55.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.2221, allocations: 3.486 MB / 386.6 MB, free: 54.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/0.2222, allocations: 46.23 kB / 386.6 MB, free: 54.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008936/0.2231, allocations: 3.549 MB / 390.2 MB, free: 52.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.2234, allocations: 0.6552 MB / 390.8 MB, free: 51.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007494/0.2241, allocations: 1.241 MB / 392.1 MB, free: 50.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.152e-05/0.2242, allocations: 305.1 kB / 392.4 MB, free: 50.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009783/0.2251, allocations: 0.7851 MB / 393.2 MB, free: 49.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001647/0.2268, allocations: 4.843 MB / 398 MB, free: 42.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.2296, allocations: 6.237 MB / 404.2 MB, free: 35.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.67e-05/0.2296, allocations: 44 kB / 404.3 MB, free: 35.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.003614/0.2332, allocations: 4.454 MB / 408.7 MB, free: 30.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.2333, allocations: 68 kB / 408.8 MB, free: 30.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.289e-05/0.2333, allocations: 151.9 kB / 408.9 MB, free: 30.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/0.2336, allocations: 266.4 kB / 409.2 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.2356, allocations: 1.493 MB / 410.7 MB, free: 28.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000833/0.2365, allocations: 1.611 MB / 412.3 MB, free: 26.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.2381, allocations: 294.7 kB / 412.6 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.2384, allocations: 356 kB / 413 MB, free: 26.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (824): * Single equations (assignments): 820 * 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.0007713/0.2391, allocations: 0.6709 MB / 413.6 MB, free: 25.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.2394, allocations: 227.7 kB / 413.8 MB, free: 25.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008848/0.2403, allocations: 0.8573 MB / 414.7 MB, free: 24.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.2403, allocations: 20 kB / 414.7 MB, free: 24.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2403, allocations: 0 / 414.7 MB, free: 24.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.2403, allocations: 11.91 kB / 414.7 MB, free: 24.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004011/0.2443, allocations: 4.265 MB / 419 MB, free: 20.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.2443, allocations: 11.98 kB / 419 MB, free: 20.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.2449, allocations: 251.6 kB / 419.3 MB, free: 19.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.2451, allocations: 70.22 kB / 419.3 MB, free: 19.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/0.2451, allocations: 32.14 kB / 419.4 MB, free: 19.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008065/0.2459, allocations: 1.528 MB / 420.9 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2459, allocations: 8 kB / 420.9 MB, free: 18.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.2472, allocations: 1.802 MB / 422.7 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/0.2476, allocations: 437.2 kB / 423.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.2478, allocations: 35.98 kB / 423.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.2484, allocations: 30.88 kB / 423.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.2485, allocations: 124.6 kB / 423.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.2485, allocations: 43.27 kB / 423.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007555/0.2493, allocations: 1.26 MB / 424.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2493, allocations: 4 kB / 424.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002278/0.2516, allocations: 1.055 MB / 425.7 MB, free: 13.28 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (141): * Single equations (assignments): 137 * 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.000247/0.2518, allocations: 183.9 kB / 425.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.2537, allocations: 2.625 MB / 428.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001342/0.2538, allocations: 104.2 kB / 428.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.2542, allocations: 0.5294 MB / 429.1 MB, free: 9.828 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.2556, allocations: 0.6648 MB / 429.8 MB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00741/0.263, allocations: 8.24 MB / 438 MB, free: 0.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.2641, allocations: 1.376 MB / 439.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00114/0.2652, allocations: 0.5242 MB / 439.9 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008166/0.266, allocations: 0.5636 MB / 440.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of SimCode: time 1.673e-06/0.266, allocations: 0 / 440.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of Templates: time 0.04376/0.3098, allocations: 30.37 MB / 470.8 MB, free: 276 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.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.477400812320411]