Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.001441/0.001441, allocations: 88.62 kB / 20.96 MB, free: 3.477 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.001506/0.001506, allocations: 149.3 kB / 24.26 MB, free: 184 kB / 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 1.427/1.427, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.841e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01357/0.0136, allocations: 9.8 MB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008577/0.02217, allocations: 3.644 MB / 280.8 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.02357, allocations: 75.69 kB / 280.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00573/0.0293, allocations: 2.803 MB / 283.6 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.03411, allocations: 1.921 MB / 285.6 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.03572, allocations: 0.6431 MB / 286.2 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1378/0.1735, allocations: 3.942 MB / 290.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004925/0.1784, allocations: 3.091 MB / 293.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.1825, allocations: 2.23 MB / 295.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004015/0.1865, allocations: 2.122 MB / 297.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009546/0.1874, allocations: 325.4 kB / 297.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.1898, allocations: 1.019 MB / 298.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001883/0.1917, allocations: 1.962 MB / 300.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.1933, allocations: 1.238 MB / 302.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006256/0.1995, allocations: 6.871 MB / 309 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1995, allocations: 3.312 kB / 309 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1995, allocations: 0 / 309 MB, free: 11.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001722/0.1997, allocations: 0 / 309 MB, free: 11.26 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.0169/0.2166, allocations: 5.305 MB / 314.3 MB, free: 7.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2166, allocations: 7.328 kB / 314.3 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006728/0.2234, allocations: 2.404 MB / 316.7 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003737/0.2271, allocations: 2.211 MB / 318.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.2272, allocations: 230.1 kB / 319.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/0.2278, allocations: 314.6 kB / 319.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.2476, allocations: 10.28 MB / 329.7 MB, free: 8.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/0.2478, allocations: 49.22 kB / 329.8 MB, free: 8.738 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004548/0.2482, allocations: 151.5 kB / 329.9 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003687/0.2519, allocations: 1.868 MB / 331.8 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02056/0.2725, allocations: 9.18 MB / 341 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05213/0.3246, allocations: 35.65 MB / 376.6 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/0.3387, allocations: 3.22 MB / 379.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/0.3416, allocations: 1.577 MB / 381.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005027/0.3421, allocations: 128.4 kB / 381.6 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.878e-05/0.3422, allocations: 46.72 kB / 381.6 MB, free: 4.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 4.228e-06/0.3422, allocations: 0 / 381.6 MB, free: 4.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=133): time 0.04608/0.3883, allocations: 13.43 MB / 395 MB, free: 7.094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.3884, allocations: 141.2 kB / 395.2 MB, free: 6.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006004/0.3944, allocations: 3.826 MB / 399 MB, free: 3.094 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002909/0.3947, allocations: 41.7 kB / 399 MB, free: 3.047 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002887/0.3976, allocations: 3.163 MB / 402.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008956/0.3984, allocations: 0.557 MB / 402.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001863/0.4003, allocations: 1.176 MB / 403.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4005, allocations: 304.9 kB / 404.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/0.4039, allocations: 1.971 MB / 406.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007697/0.4116, allocations: 5.682 MB / 411.9 MB, free: 4.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/0.4241, allocations: 8.278 MB / 420.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001415/0.4242, allocations: 44 kB / 420.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01858/0.4428, allocations: 8.388 MB / 428.6 MB, free: 1.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.443, allocations: 62.56 kB / 428.7 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002606/0.4433, allocations: 132 kB / 428.8 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.4463, allocations: 0.9332 MB / 429.7 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1381/0.5844, allocations: 1.323 MB / 431 MB, free: 118.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006941/0.5914, allocations: 5.033 MB / 436.1 MB, free: 117.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/0.596, allocations: 342.7 kB / 436.4 MB, free: 117.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009959/0.597, allocations: 375.8 kB / 436.8 MB, free: 117.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (702): * Single equations (assignments): 698 * 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.003747/0.6007, allocations: 2.011 MB / 438.8 MB, free: 116.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008437/0.6016, allocations: 351.5 kB / 439.1 MB, free: 116.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005305/0.6069, allocations: 2.716 MB / 441.8 MB, free: 115.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.6069, allocations: 16 kB / 441.9 MB, free: 115.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.6069, allocations: 3.875 kB / 441.9 MB, free: 115.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.6069, allocations: 8.297 kB / 441.9 MB, free: 115.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.618, allocations: 6.146 MB / 448 MB, free: 113.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.618, allocations: 2.875 kB / 448 MB, free: 113.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.6191, allocations: 224.5 kB / 448.2 MB, free: 113.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/0.6212, allocations: 0.7356 MB / 449 MB, free: 113.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.6213, allocations: 41.94 kB / 449 MB, free: 113.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005202/0.6265, allocations: 4.627 MB / 453.6 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6265, allocations: 3.906 kB / 453.6 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006809/0.6333, allocations: 5.083 MB / 458.7 MB, free: 109 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008034/0.6341, allocations: 304 kB / 459 MB, free: 109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/0.6345, allocations: 22.25 kB / 459 MB, free: 109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.6358, allocations: 108.7 kB / 459.2 MB, free: 109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.636, allocations: 92.34 kB / 459.2 MB, free: 109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.6362, allocations: 56.42 kB / 459.3 MB, free: 109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002751/0.6389, allocations: 2.219 MB / 461.5 MB, free: 108.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6389, allocations: 0 / 461.5 MB, free: 108.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00444/0.6433, allocations: 0.9793 MB / 462.5 MB, free: 107.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (101): * Single equations (assignments): 97 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004078/0.6438, allocations: 179.6 kB / 462.7 MB, free: 107.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005463/0.6492, allocations: 4.543 MB / 467.2 MB, free: 103.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6492, allocations: 0 / 467.2 MB, free: 103.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.6506, allocations: 1.269 MB / 468.5 MB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.6527, allocations: 407.7 kB / 468.9 MB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.6631, allocations: 8.642 MB / 477.5 MB, free: 93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/0.6654, allocations: 2.566 MB / 480.1 MB, free: 90.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003343/0.6688, allocations: 1.775 MB / 481.9 MB, free: 88.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/0.6694, allocations: 252.4 kB / 482.1 MB, free: 88.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6694, allocations: 4 kB / 482.1 MB, free: 88.39 MB / 378.7 MB Notification: Performance of Templates: time 0.04846/0.7178, allocations: 29.51 MB / 0.4996 GB, free: 59.38 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.227132453001104]