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.0009679/0.0009679, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001456/0.001456, allocations: 147 kB / 24.9 MB, free: 8.777 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.8819/0.8819, allocations: 173.4 MB / 201.5 MB, free: 8.762 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.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.082e-06/1.082e-06, allocations: 0 / 268.5 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.284e-05, allocations: 10.31 kB / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.007643/0.007656, allocations: 10.54 MB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005343/0.013, allocations: 3.873 MB / 282.9 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007472/0.01375, allocations: 83.62 kB / 283 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002592/0.01634, allocations: 2.873 MB / 285.8 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.0187, allocations: 1.948 MB / 287.8 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.01947, allocations: 0.6315 MB / 288.4 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1046/0.124, allocations: 3.947 MB / 292.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003261/0.1273, allocations: 3.188 MB / 295.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/0.1303, allocations: 2.319 MB / 297.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.1329, allocations: 2.017 MB / 299.9 MB, free: 15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007192/0.1336, allocations: 317.4 kB / 300.2 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.1351, allocations: 0.997 MB / 301.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.1361, allocations: 1.968 MB / 303.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.1372, allocations: 1.228 MB / 304.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.1399, allocations: 4.341 MB / 308.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1399, allocations: 4 kB / 308.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1399, allocations: 7.344 kB / 308.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.587e-05/0.1399, allocations: 3.938 kB / 308.7 MB, free: 12.2 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.003577/0.1435, allocations: 4.474 MB / 313.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.1435, allocations: 13.56 kB / 313.2 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.1457, allocations: 1.049 MB / 314.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.1471, allocations: 1.695 MB / 316 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.1472, allocations: 224.4 kB / 316.2 MB, free: 7.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.1475, allocations: 301.1 kB / 316.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003281/0.1507, allocations: 4.645 MB / 321.1 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.363e-05/0.1508, allocations: 41.42 kB / 321.2 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/0.151, allocations: 147.3 kB / 321.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001036/0.1521, allocations: 1.572 MB / 322.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.155, allocations: 2.264 MB / 325.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01699/0.172, allocations: 29.52 MB / 354.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.1741, allocations: 1.034 MB / 355.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.1744, allocations: 233.5 kB / 355.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002982/0.1774, allocations: 2.669 MB / 358.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1774, allocations: 40.45 kB / 358.6 MB, free: 13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=93): time 2.765e-06/0.1774, allocations: 0 / 358.6 MB, free: 13 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.004617/0.182, allocations: 2.338 MB / 361 MB, free: 10.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.1821, allocations: 142 kB / 361.1 MB, free: 10.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.1842, allocations: 3.18 MB / 364.3 MB, free: 7.887 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.1842, allocations: 37.7 kB / 364.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.1855, allocations: 3.09 MB / 367.4 MB, free: 4.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.1857, allocations: 447 kB / 367.9 MB, free: 4.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007538/0.1865, allocations: 1.084 MB / 368.9 MB, free: 3.523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.1865, allocations: 301.1 kB / 369.2 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008827/0.1874, allocations: 0.6397 MB / 369.9 MB, free: 2.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.1898, allocations: 4.355 MB / 374.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.1933, allocations: 5.535 MB / 379.8 MB, free: 5.086 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.645e-05/0.1933, allocations: 44 kB / 379.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=732) (initialization): time 0.003626/0.197, allocations: 3.88 MB / 383.7 MB, free: 1.152 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.197, allocations: 64.97 kB / 383.8 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.09e-05/0.1971, allocations: 143.9 kB / 383.9 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.1974, allocations: 227.6 kB / 384.1 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.1992, allocations: 1.279 MB / 385.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008484/0.2001, allocations: 1.517 MB / 386.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.2017, allocations: 263.7 kB / 387.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/0.2019, allocations: 316 kB / 387.5 MB, free: 13.26 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * 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 (706): * Single equations (assignments): 702 * 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.0008829/0.2028, allocations: 0.6068 MB / 388.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.203, allocations: 171.8 kB / 388.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005583/0.2036, allocations: 0.4899 MB / 388.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.2036, allocations: 12 kB / 388.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2036, allocations: 4 kB / 388.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2036, allocations: 7.969 kB / 388.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.2067, allocations: 2.831 MB / 391.6 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2067, allocations: 4 kB / 391.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.207, allocations: 127.8 kB / 391.7 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.2071, allocations: 43.86 kB / 391.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.2072, allocations: 19.98 kB / 391.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007916/0.208, allocations: 1.427 MB / 393.2 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.208, allocations: 4 kB / 393.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.2089, allocations: 1.213 MB / 394.4 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.2091, allocations: 273.8 kB / 394.7 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.2093, allocations: 16 kB / 394.7 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.2097, allocations: 19.94 kB / 394.7 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.2098, allocations: 59.78 kB / 394.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.2098, allocations: 32 kB / 394.8 MB, free: 5.668 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000882/0.2107, allocations: 1.139 MB / 396 MB, free: 4.539 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2107, allocations: 0 / 396 MB, free: 4.539 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002163/0.2129, allocations: 0.8671 MB / 396.8 MB, free: 3.672 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (71): * Single equations (assignments): 67 * 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.0002518/0.2131, allocations: 152.1 kB / 397 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.2149, allocations: 2.171 MB / 399.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001471/0.2151, allocations: 96.16 kB / 399.2 MB, free: 1.246 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.2154, allocations: 321 kB / 399.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.2166, allocations: 0.5702 MB / 400.1 MB, free: 364 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006414/0.223, allocations: 6.501 MB / 406.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008863/0.2239, allocations: 1.125 MB / 407.8 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009008/0.2248, allocations: 460.3 kB / 408.2 MB, free: 8.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005332/0.2253, allocations: 481.2 kB / 408.7 MB, free: 7.68 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2253, allocations: 0 / 408.7 MB, free: 7.68 MB / 362.7 MB Notification: Performance of Templates: time 0.03467/0.26, allocations: 22.6 MB / 431.3 MB, free: 1.355 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] 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","",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.3502846900373697]