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.001098/0.001098, 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.001419/0.001419, allocations: 139.9 kB / 24.89 MB, free: 9.207 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.9308/0.9308, allocations: 173.3 MB / 201.5 MB, free: 9.211 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.242e-06/1.242e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.055e-05, allocations: 2.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.008374/0.008395, allocations: 10.59 MB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006939/0.01533, allocations: 3.873 MB / 283 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.01678, allocations: 75.62 kB / 283 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.01982, allocations: 2.826 MB / 285.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.02351, allocations: 1.917 MB / 287.8 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.02461, allocations: 0.6315 MB / 288.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1126/0.1372, allocations: 3.942 MB / 292.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004278/0.1415, allocations: 3.07 MB / 295.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004594/0.1461, allocations: 2.278 MB / 297.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003887/0.15, allocations: 2.026 MB / 299.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.151, allocations: 317.3 kB / 300 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.1529, allocations: 1.027 MB / 301.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.1545, allocations: 1.964 MB / 303 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.1563, allocations: 1.23 MB / 304.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003882/0.1602, allocations: 4.341 MB / 308.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1602, allocations: 0 / 308.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1602, allocations: 0 / 308.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.73e-05/0.1603, allocations: 0 / 308.6 MB, free: 12.05 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.004473/0.1648, allocations: 4.49 MB / 313.1 MB, free: 9.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1648, allocations: 12.67 kB / 313.1 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.1673, allocations: 1.05 MB / 314.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.169, allocations: 1.695 MB / 315.9 MB, free: 7.621 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.1691, allocations: 226.7 kB / 316.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.1694, allocations: 299.7 kB / 316.4 MB, free: 7.176 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/0.1736, allocations: 4.641 MB / 321 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.841e-05/0.1736, allocations: 42.33 kB / 321 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.1739, allocations: 143.7 kB / 321.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001081/0.1749, allocations: 1.564 MB / 322.8 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003701/0.1786, allocations: 2.267 MB / 325 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02454/0.2032, allocations: 29.53 MB / 354.6 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.2056, allocations: 1.03 MB / 355.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.206, allocations: 245.1 kB / 355.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003947/0.2099, allocations: 2.655 MB / 358.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.21, allocations: 46.08 kB / 358.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=93): time 3.356e-06/0.21, allocations: 0 / 358.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.005561/0.2155, allocations: 2.338 MB / 360.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.2156, allocations: 136.5 kB / 361 MB, free: 10.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.2183, allocations: 3.179 MB / 364.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.2184, allocations: 37.7 kB / 364.2 MB, free: 7.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.2197, allocations: 3.097 MB / 367.3 MB, free: 4.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.22, allocations: 446.4 kB / 367.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.2211, allocations: 1.084 MB / 368.8 MB, free: 3.555 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.2211, allocations: 301.1 kB / 369.1 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009335/0.2221, allocations: 0.6397 MB / 369.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002971/0.2251, allocations: 4.359 MB / 374.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00433/0.2294, allocations: 5.539 MB / 379.7 MB, free: 5.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-05/0.2295, allocations: 40 kB / 379.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=732) (initialization): time 0.004681/0.2341, allocations: 3.887 MB / 383.6 MB, free: 1.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.175e-05/0.2342, allocations: 64 kB / 383.6 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.2343, allocations: 136 kB / 383.8 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.2347, allocations: 219.6 kB / 384 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/0.2369, allocations: 1.342 MB / 385.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.2383, allocations: 1.514 MB / 386.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.2406, allocations: 271.7 kB / 387.1 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/0.2409, allocations: 316 kB / 387.4 MB, free: 13.29 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.001194/0.2421, allocations: 0.595 MB / 388 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.2424, allocations: 175.8 kB / 388.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007671/0.2432, allocations: 497.6 kB / 388.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.2432, allocations: 16 kB / 388.7 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.2432, allocations: 4 kB / 388.7 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2432, allocations: 3.984 kB / 388.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.247, allocations: 2.839 MB / 391.5 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.247, allocations: 4 kB / 391.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.2474, allocations: 135.9 kB / 391.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/0.2476, allocations: 51.8 kB / 391.7 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.2476, allocations: 19.98 kB / 391.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.2486, allocations: 1.427 MB / 393.2 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2487, allocations: 4 kB / 393.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.2501, allocations: 1.208 MB / 394.4 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/0.2505, allocations: 281.8 kB / 394.7 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.2507, allocations: 19.94 kB / 394.7 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.2511, allocations: 16 kB / 394.7 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2512, allocations: 51.91 kB / 394.7 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.2512, allocations: 27.98 kB / 394.8 MB, free: 5.703 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.2523, allocations: 1.135 MB / 395.9 MB, free: 4.578 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2523, allocations: 0 / 395.9 MB, free: 4.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002926/0.2552, allocations: 0.871 MB / 396.8 MB, free: 3.707 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.000303/0.2555, allocations: 152.1 kB / 396.9 MB, free: 3.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.258, allocations: 2.181 MB / 399.1 MB, free: 1.371 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001554/0.2582, allocations: 96.59 kB / 399.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.2585, allocations: 325 kB / 399.5 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.2602, allocations: 0.5561 MB / 400.1 MB, free: 396 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008729/0.269, allocations: 6.5 MB / 406.6 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.27, allocations: 1.129 MB / 407.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001431/0.2715, allocations: 453.1 kB / 408.1 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/0.2721, allocations: 489.2 kB / 408.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of SimCode: time 2.375e-06/0.2721, allocations: 0 / 408.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of Templates: time 0.03955/0.3116, allocations: 22.63 MB / 431.3 MB, free: 1.359 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 -s gbode -gbm=radauIIA3 -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.559482845943421]