Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 84.34 kB / 20.96 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002997/0.002997, allocations: 165.3 kB / 24.27 MB, free: 140 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.909e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.014/0.01403, allocations: 9.675 MB / 282 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008906/0.02293, allocations: 3.648 MB / 285.6 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.02448, allocations: 71.69 kB / 285.7 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007092/0.03157, allocations: 2.784 MB / 288.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1335/0.1651, allocations: 1.858 MB / 290.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.167, allocations: 0.6373 MB / 291 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005221/0.1722, allocations: 3.974 MB / 295 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/0.1757, allocations: 3.077 MB / 298 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.1787, allocations: 2.202 MB / 300.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.1816, allocations: 2.094 MB / 302.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007229/0.1823, allocations: 320.4 kB / 302.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.1842, allocations: 1.006 MB / 303.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.1856, allocations: 1.916 MB / 305.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.1867, allocations: 1.195 MB / 306.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004909/0.1916, allocations: 6.718 MB / 313.5 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1916, allocations: 0 / 313.5 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1916, allocations: 0 / 313.5 MB, free: 6.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001249/0.1917, allocations: 0 / 313.5 MB, free: 6.637 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.0151/0.2068, allocations: 5.248 MB / 318.7 MB, free: 1.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2069, allocations: 8.031 kB / 318.7 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006937/0.2138, allocations: 2.393 MB / 321.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/0.2182, allocations: 2.206 MB / 323.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.2184, allocations: 225.1 kB / 323.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006326/0.219, allocations: 307 kB / 323.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01941/0.2384, allocations: 10.1 MB / 334 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.2385, allocations: 43.81 kB / 334 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000439/0.239, allocations: 149.4 kB / 334.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003478/0.2424, allocations: 1.811 MB / 336 MB, free: 4 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02049/0.2629, allocations: 9.027 MB / 345 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05543/0.3184, allocations: 35.29 MB / 380.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/0.3322, allocations: 3.221 MB / 383.5 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.3348, allocations: 1.574 MB / 385.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005314/0.3354, allocations: 124.5 kB / 385.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.3355, allocations: 50.39 kB / 385.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 3.657e-06/0.3355, allocations: 0 / 385.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.04557/0.3811, allocations: 13.38 MB / 398.6 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.3812, allocations: 144.1 kB / 398.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005985/0.3872, allocations: 3.806 MB / 402.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003257/0.3875, allocations: 49.69 kB / 402.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002759/0.3903, allocations: 3.111 MB / 405.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000906/0.3912, allocations: 0.5637 MB / 406.3 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001848/0.393, allocations: 1.167 MB / 407.5 MB, free: 8.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3932, allocations: 301.1 kB / 407.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/0.3965, allocations: 1.963 MB / 409.7 MB, free: 5.754 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007056/0.4035, allocations: 5.658 MB / 415.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/0.4154, allocations: 8.246 MB / 423.6 MB, free: 4.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001417/0.4156, allocations: 40 kB / 423.7 MB, free: 4.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01844/0.434, allocations: 8.36 MB / 432 MB, free: 11.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.4341, allocations: 67.98 kB / 432.1 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/0.4343, allocations: 128 kB / 432.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/0.4373, allocations: 0.9319 MB / 433.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004932/0.4422, allocations: 1.329 MB / 434.5 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008651/0.4509, allocations: 5.041 MB / 439.5 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005777/0.4566, allocations: 339.7 kB / 439.8 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/0.4579, allocations: 376 kB / 440.2 MB, free: 3.578 MB / 394.7 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.004581/0.4625, allocations: 1.986 MB / 442.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009825/0.4635, allocations: 349.9 kB / 442.5 MB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1463/0.6098, allocations: 2.7 MB / 445.2 MB, free: 131.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.533e-05/0.6099, allocations: 17.89 kB / 445.3 MB, free: 131.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.6099, allocations: 4.688 kB / 445.3 MB, free: 131.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.6099, allocations: 7.328 kB / 445.3 MB, free: 131.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.6224, allocations: 6.118 MB / 451.4 MB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6224, allocations: 1.344 kB / 451.4 MB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.6234, allocations: 221.6 kB / 451.6 MB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00211/0.6255, allocations: 0.7335 MB / 452.3 MB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.6256, allocations: 36.05 kB / 452.4 MB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005581/0.6312, allocations: 4.622 MB / 457 MB, free: 127.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6312, allocations: 8.172 kB / 457 MB, free: 127.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006904/0.6381, allocations: 5.078 MB / 462.1 MB, free: 125.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007396/0.6389, allocations: 308.2 kB / 462.4 MB, free: 125.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/0.6392, allocations: 23.53 kB / 462.4 MB, free: 125.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.6404, allocations: 103 kB / 462.5 MB, free: 125.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/0.6406, allocations: 95.73 kB / 462.6 MB, free: 125.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.6408, allocations: 54.09 kB / 462.7 MB, free: 125.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003002/0.6438, allocations: 2.217 MB / 464.9 MB, free: 124.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6438, allocations: 0 / 464.9 MB, free: 124.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004511/0.6483, allocations: 0.9456 MB / 465.8 MB, free: 124.6 MB / 394.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.000356/0.6486, allocations: 176.1 kB / 466 MB, free: 124.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005852/0.6545, allocations: 4.531 MB / 470.5 MB, free: 123 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.6545, allocations: 0 / 470.5 MB, free: 123 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.6559, allocations: 1.273 MB / 471.8 MB, free: 122.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.6581, allocations: 389.8 kB / 472.2 MB, free: 121.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.6689, allocations: 8.527 MB / 480.7 MB, free: 113.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/0.6713, allocations: 2.518 MB / 483.2 MB, free: 111 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003263/0.6745, allocations: 1.778 MB / 485 MB, free: 109.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/0.6752, allocations: 260.4 kB / 485.2 MB, free: 109 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6752, allocations: 3.938 kB / 485.3 MB, free: 108.9 MB / 394.7 MB Notification: Performance of Templates: time 0.0482/0.7234, allocations: 29.26 MB / 0.5024 GB, free: 80.2 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.275483209989034]