Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001768/0.001768, allocations: 106 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.00209/0.00209, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 47.92 kB / 347.7 MB, free: 9.57 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3156, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01299/0.3286, allocations: 11.83 MB / 408.6 MB, free: 1.168 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009305/0.3379, allocations: 3.952 MB / 412.6 MB, free: 14.55 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.3402, allocations: 78.41 kB / 412.7 MB, free: 14.52 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005663/0.3458, allocations: 2.768 MB / 415.4 MB, free: 12.96 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005777/0.3516, allocations: 1.934 MB / 417.4 MB, free: 11.59 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.3532, allocations: 0.5889 MB / 418 MB, free: 11.19 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006581/0.3598, allocations: 3.752 MB / 421.7 MB, free: 9.16 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003549/0.3634, allocations: 2.587 MB / 424.3 MB, free: 7.383 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002964/0.3663, allocations: 1.562 MB / 425.9 MB, free: 6.238 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003277/0.3696, allocations: 2.297 MB / 428.2 MB, free: 3.934 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0006766/0.3703, allocations: 340 kB / 428.5 MB, free: 3.602 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.3724, allocations: 1.096 MB / 429.6 MB, free: 2.504 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001952/0.3743, allocations: 1.975 MB / 431.6 MB, free: 0.5234 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002697/0.377, allocations: 2.245 MB / 433.8 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009887/0.3869, allocations: 7.223 MB / 441 MB, free: 7.02 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3869, allocations: 0 / 441 MB, free: 7.02 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.793e-06/0.3869, allocations: 4 kB / 441 MB, free: 7.016 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 0.000184/0.3871, allocations: 0 / 441 MB, free: 7.016 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1528
 * Number of variables: 1528
Notification: Performance of Generate backend data structure: time 0.01995/0.407, allocations: 5.352 MB / 446.4 MB, free: 1.605 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.4071, allocations: 11.98 kB / 446.4 MB, free: 1.594 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006519/0.4136, allocations: 1.917 MB / 448.3 MB, free: 15.67 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/0.4189, allocations: 2.321 MB / 450.6 MB, free: 13.31 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.4191, allocations: 242 kB / 450.9 MB, free: 13.07 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008806/0.42, allocations: 315.7 kB / 451.2 MB, free: 12.76 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.4416, allocations: 10.72 MB / 461.9 MB, free: 1.352 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001682/0.4418, allocations: 43.62 kB / 461.9 MB, free: 1.309 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005257/0.4423, allocations: 147.9 kB / 462.1 MB, free: 1.164 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003501/0.4458, allocations: 1.985 MB / 464.1 MB, free: 15.17 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02088/0.4667, allocations: 9.566 MB / 473.6 MB, free: 5.582 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06157/0.5282, allocations: 39.68 MB / 0.5013 GB, free: 12.76 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01277/0.541, allocations: 3.264 MB / 0.5045 GB, free: 9.457 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002668/0.5437, allocations: 1.732 MB / 0.5062 GB, free: 7.711 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005285/0.5442, allocations: 128.8 kB / 0.5063 GB, free: 7.586 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.5443, allocations: 55.5 kB / 0.5063 GB, free: 7.523 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=148): time 4.869e-06/0.5443, allocations: 0 / 0.5063 GB, free: 7.523 MB / 430.1 MB
Notification: Performance of matching and sorting (n=154): time 0.04861/0.5929, allocations: 13.83 MB / 0.5199 GB, free: 9.641 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.593, allocations: 145.5 kB / 0.52 GB, free: 9.465 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009575/0.6026, allocations: 4.176 MB / 0.5241 GB, free: 5.266 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003675/0.603, allocations: 45.7 kB / 0.5241 GB, free: 5.215 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.003206/0.6062, allocations: 3.299 MB / 0.5273 GB, free: 1.883 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.001078/0.6072, allocations: 0.6436 MB / 0.528 GB, free: 1.234 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.003144/0.6104, allocations: 1.234 MB / 0.5292 GB, free: 15.98 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001335/0.6105, allocations: 305.1 kB / 0.5295 GB, free: 15.68 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003887/0.6144, allocations: 2.135 MB / 0.5315 GB, free: 13.54 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.008162/0.6226, allocations: 5.956 MB / 0.5374 GB, free: 5.668 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/0.6364, allocations: 8.771 MB / 0.5459 GB, free: 10.99 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001796/0.6366, allocations: 40 kB / 0.546 GB, free: 10.95 MB / 478.1 MB
Notification: Performance of matching and sorting (n=779) (initialization): time 0.02023/0.6568, allocations: 8.584 MB / 0.5543 GB, free: 2.355 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.657, allocations: 67.91 kB / 0.5544 GB, free: 2.289 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003051/0.6573, allocations: 140.1 kB / 0.5545 GB, free: 2.152 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/0.6602, allocations: 0.914 MB / 0.5554 GB, free: 1.234 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2316/0.8918, allocations: 1.394 MB / 0.5568 GB, free: 139.7 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008158/0.9, allocations: 5.106 MB / 0.5618 GB, free: 137.9 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005074/0.905, allocations: 323.5 kB / 0.5621 GB, free: 137.8 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/0.9064, allocations: 382.5 kB / 0.5625 GB, free: 137.7 MB / 478.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 620
 * Number of states: 0 ()
 * Number of discrete variables: 36 (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 (740):
 * Single equations (assignments): 736
 * 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.004409/0.9108, allocations: 2.099 MB / 0.5645 GB, free: 136.9 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008671/0.9117, allocations: 375.4 kB / 0.5649 GB, free: 136.9 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00685/0.9185, allocations: 3.133 MB / 0.5679 GB, free: 135.9 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-05/0.9186, allocations: 21.14 kB / 0.5679 GB, free: 135.9 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/0.9186, allocations: 4.625 kB / 0.5679 GB, free: 135.9 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/0.9186, allocations: 5.047 kB / 0.568 GB, free: 135.9 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/0.9368, allocations: 7.778 MB / 0.5755 GB, free: 133.3 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/0.9369, allocations: 2.156 kB / 0.5756 GB, free: 133.3 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.9382, allocations: 260.1 kB / 0.5758 GB, free: 133.3 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.9402, allocations: 0.7117 MB / 0.5765 GB, free: 133.2 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/0.9404, allocations: 37.62 kB / 0.5765 GB, free: 133.2 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005212/0.9456, allocations: 4.65 MB / 0.5811 GB, free: 130.6 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.9456, allocations: 10.53 kB / 0.5811 GB, free: 130.6 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007941/0.9535, allocations: 5.687 MB / 0.5866 GB, free: 128.6 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001877/0.9554, allocations: 0.5723 MB / 0.5872 GB, free: 128.4 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008696/0.9563, allocations: 23.38 kB / 0.5872 GB, free: 128.4 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/0.9583, allocations: 87.06 kB / 0.5873 GB, free: 128.4 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003844/0.9587, allocations: 112.3 kB / 0.5874 GB, free: 128.3 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/0.9589, allocations: 51.58 kB / 0.5875 GB, free: 128.3 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.005574/0.9645, allocations: 2.605 MB / 0.59 GB, free: 127 MB / 478.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.9645, allocations: 0 / 0.59 GB, free: 127 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.005723/0.9702, allocations: 0.9627 MB / 0.5909 GB, free: 126.9 MB / 478.1 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 (123):
 * Single equations (assignments): 119
 * 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.0005088/0.9707, allocations: 170.5 kB / 0.5911 GB, free: 126.7 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.007366/0.9781, allocations: 4.909 MB / 0.5959 GB, free: 122.7 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.9781, allocations: 4 kB / 0.5959 GB, free: 122.7 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001901/0.98, allocations: 1.44 MB / 0.5973 GB, free: 121.2 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/0.9831, allocations: 438.3 kB / 0.5977 GB, free: 120.8 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.9983, allocations: 9.202 MB / 0.6067 GB, free: 111.6 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004006/1.002, allocations: 3.239 MB / 0.6099 GB, free: 108.3 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.004194/1.006, allocations: 1.933 MB / 0.6118 GB, free: 106.4 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009522/1.007, allocations: 271.3 kB / 0.612 GB, free: 106.1 MB / 478.1 MB
Notification: Performance of SimCode: time 1.553e-06/1.007, allocations: 2.188 kB / 0.612 GB, free: 106.1 MB / 478.1 MB
Notification: Performance of Templates: time 0.06659/1.074, allocations: 38.25 MB / 0.6494 GB, free: 67.97 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.9753147177398205]