Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001838/0.001838, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002178/0.002178, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.81 kB / 378.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2092, allocations: 53.31 MB / 432 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01327/0.2225, allocations: 11.08 MB / 443.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008077/0.2306, allocations: 3.865 MB / 447 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.2322, allocations: 63.81 kB / 447 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005476/0.2377, allocations: 2.733 MB / 449.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00445/0.2421, allocations: 1.79 MB / 451.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.2436, allocations: 0.5849 MB / 452.2 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005104/0.2487, allocations: 3.575 MB / 455.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003736/0.2524, allocations: 2.514 MB / 458.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.2548, allocations: 1.448 MB / 459.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003378/0.2582, allocations: 2.142 MB / 461.8 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009166/0.2591, allocations: 312 kB / 462.1 MB, free: 9.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.2614, allocations: 1.08 MB / 463.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002184/0.2636, allocations: 1.839 MB / 465.1 MB, free: 6.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002829/0.2664, allocations: 2.078 MB / 467.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008094/0.2745, allocations: 6.673 MB / 473.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2745, allocations: 0 / 473.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2745, allocations: 0 / 473.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001433/0.2747, allocations: 3.938 kB / 473.8 MB, free: 13.46 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01812/0.2928, allocations: 5.169 MB / 479 MB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.2928, allocations: 12.02 kB / 479 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007262/0.3001, allocations: 1.874 MB / 480.9 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005411/0.3055, allocations: 2.245 MB / 483.1 MB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.3057, allocations: 225.7 kB / 483.3 MB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008048/0.3065, allocations: 295.8 kB / 483.6 MB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/0.3259, allocations: 10.02 MB / 493.6 MB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/0.3261, allocations: 43.64 kB / 493.7 MB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004478/0.3265, allocations: 143.8 kB / 493.8 MB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003392/0.3299, allocations: 1.809 MB / 495.6 MB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0192/0.3491, allocations: 8.97 MB / 0.4928 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04873/0.3978, allocations: 37.81 MB / 0.5297 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01382/0.4116, allocations: 3.486 MB / 0.5331 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.4139, allocations: 1.574 MB / 0.5346 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006266/0.4146, allocations: 359.8 kB / 0.535 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.4146, allocations: 51.06 kB / 0.535 GB, free: 1.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.178e-06/0.4146, allocations: 0 / 0.535 GB, free: 1.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2154/0.63, allocations: 12.87 MB / 0.5476 GB, free: 97.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.63, allocations: 140.8 kB / 0.5477 GB, free: 97.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004251/0.6343, allocations: 4.057 MB / 0.5517 GB, free: 95.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.6345, allocations: 45.64 kB / 0.5517 GB, free: 95.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.6357, allocations: 3.135 MB / 0.5548 GB, free: 93.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004434/0.6362, allocations: 0.5646 MB / 0.5554 GB, free: 93.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.6373, allocations: 1.179 MB / 0.5565 GB, free: 92.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.6374, allocations: 308.6 kB / 0.5568 GB, free: 92.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.6396, allocations: 1.959 MB / 0.5587 GB, free: 91.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/0.6428, allocations: 5.661 MB / 0.5642 GB, free: 84.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005728/0.6485, allocations: 8.254 MB / 0.5723 GB, free: 74.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-05/0.6485, allocations: 40 kB / 0.5723 GB, free: 74 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01028/0.6588, allocations: 8.084 MB / 0.5802 GB, free: 65.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/0.6589, allocations: 64 kB / 0.5803 GB, free: 65.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.841e-05/0.659, allocations: 135 kB / 0.5804 GB, free: 65.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/0.6611, allocations: 0.9105 MB / 0.5813 GB, free: 64.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/0.6643, allocations: 1.314 MB / 0.5826 GB, free: 63.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005202/0.6695, allocations: 5.192 MB / 0.5877 GB, free: 58.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/0.673, allocations: 315.5 kB / 0.588 GB, free: 57.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003369/0.6733, allocations: 369 kB / 0.5883 GB, free: 57.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (699): * Single equations (assignments): 695 * 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.001971/0.6753, allocations: 1.974 MB / 0.5903 GB, free: 55.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/0.6757, allocations: 361.6 kB / 0.5906 GB, free: 55.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/0.68, allocations: 2.755 MB / 0.5933 GB, free: 52.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.68, allocations: 3.984 kB / 0.5933 GB, free: 52.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.68, allocations: 4 kB / 0.5933 GB, free: 52.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000545/0.6805, allocations: 406.5 kB / 0.5937 GB, free: 51.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/0.6809, allocations: 24 kB / 0.5937 GB, free: 51.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.682, allocations: 71.75 kB / 0.5938 GB, free: 51.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.6822, allocations: 100.2 kB / 0.5939 GB, free: 51.77 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004726/0.6869, allocations: 3.24 MB / 0.597 GB, free: 48.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004128/0.6911, allocations: 4.389 MB / 0.6013 GB, free: 44.14 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001034/0.6921, allocations: 1.016 MB / 0.6023 GB, free: 43.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002865/0.695, allocations: 2.537 MB / 0.6048 GB, free: 40.57 MB / 446.1 MB Notification: Performance of Backend: time 4.41e-07/0.695, allocations: 0 / 0.6048 GB, free: 40.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00683/0.7018, allocations: 3.759 MB / 0.6085 GB, free: 36.84 MB / 446.1 MB Notification: Performance of SimCode: time 0.01194/0.7137, allocations: 8.778 MB / 0.617 GB, free: 28 MB / 446.1 MB Notification: Performance of Templates: time 0.07219/0.7859, allocations: 43.59 MB / 0.6596 GB, free: 0.6172 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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: 6.130554220173508]