Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.001798/0.001798, allocations: 71.77 kB / 22.45 MB, free: 2.09 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.001352/0.001352, allocations: 167.1 kB / 25.75 MB, free: 8.941 MB / 18.57 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 0.9093/0.9093, allocations: 158.6 MB / 187.5 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] 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.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.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.908e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01035/0.01037, allocations: 13.38 MB / 264.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007074/0.01744, allocations: 4.296 MB / 268.8 MB, free: 6.039 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.01859, allocations: 95.56 kB / 268.9 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004065/0.02266, allocations: 4.03 MB / 272.9 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00421/0.02687, allocations: 2.243 MB / 275.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.02811, allocations: 0.7484 MB / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004624/0.03273, allocations: 4.796 MB / 280.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003804/0.03653, allocations: 4.116 MB / 284.8 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00459/0.04113, allocations: 2.919 MB / 287.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/0.04386, allocations: 2.751 MB / 290.5 MB, free: 228 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005525/0.04441, allocations: 436 kB / 290.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.04582, allocations: 1.116 MB / 292 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00166/0.04748, allocations: 2.505 MB / 294.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.04901, allocations: 1.628 MB / 296.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.05459, allocations: 5.453 MB / 301.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.05459, allocations: 0 / 301.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.0546, allocations: 0 / 301.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001854/0.05478, allocations: 0 / 301.6 MB, free: 5.062 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.01318/0.06796, allocations: 7.05 MB / 308.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.068, allocations: 11.98 kB / 308.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004677/0.07268, allocations: 2.576 MB / 311.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.07581, allocations: 2.517 MB / 313.8 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.07597, allocations: 311.9 kB / 314.1 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004898/0.07646, allocations: 403.8 kB / 314.5 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.08841, allocations: 7.597 MB / 322.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.08855, allocations: 47.58 kB / 322.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000431/0.08898, allocations: 195.8 kB / 322.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002625/0.09161, allocations: 2.366 MB / 324.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.1021, allocations: 4.454 MB / 329.1 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1602/0.2623, allocations: 50.28 MB / 379.4 MB, free: 60.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008422/0.2707, allocations: 2.811 MB / 382.2 MB, free: 60.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.2721, allocations: 0.9755 MB / 383.2 MB, free: 60.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.2724, allocations: 146.7 kB / 383.3 MB, free: 60.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.2724, allocations: 67.2 kB / 383.4 MB, free: 60.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=221): time 5.55e-06/0.2724, allocations: 0 / 383.4 MB, free: 60.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=252): time 0.03468/0.3071, allocations: 17.64 MB / 401 MB, free: 48.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3071, allocations: 162.2 kB / 401.2 MB, free: 48.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.3103, allocations: 3.788 MB / 405 MB, free: 44.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.3105, allocations: 65.7 kB / 405 MB, free: 44.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.3118, allocations: 3.902 MB / 408.9 MB, free: 40.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006222/0.3124, allocations: 1.023 MB / 410 MB, free: 39.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/0.3137, allocations: 1.639 MB / 411.6 MB, free: 38.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.3137, allocations: 476.8 kB / 412.1 MB, free: 37.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.3153, allocations: 0.9779 MB / 413 MB, free: 36.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002844/0.3181, allocations: 6.999 MB / 420 MB, free: 27.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005636/0.3238, allocations: 8.845 MB / 428.9 MB, free: 15.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.043e-05/0.3238, allocations: 40 kB / 428.9 MB, free: 15.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.008896/0.3327, allocations: 7.022 MB / 436 MB, free: 8.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/0.3328, allocations: 65 kB / 436 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/0.3329, allocations: 147.9 kB / 436.2 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.3342, allocations: 0.6861 MB / 436.8 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003121/0.3374, allocations: 1.829 MB / 438.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.3403, allocations: 3.351 MB / 442 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/0.3434, allocations: 467.5 kB / 442.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004271/0.3438, allocations: 483.8 kB / 443 MB, free: 1.301 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (875): * Single equations (assignments): 871 * 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.001745/0.3456, allocations: 0.7319 MB / 443.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000794/0.3464, allocations: 465.5 kB / 444.1 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.351, allocations: 2.961 MB / 447.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.351, allocations: 28 kB / 447.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.351, allocations: 4 kB / 447.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.3511, allocations: 14.89 kB / 447.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.3627, allocations: 7.73 MB / 454.9 MB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3627, allocations: 4.25 kB / 454.9 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.3643, allocations: 0.6162 MB / 455.5 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.3655, allocations: 0.5001 MB / 456 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/0.3658, allocations: 103.9 kB / 456.1 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003408/0.3692, allocations: 3.087 MB / 459.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3692, allocations: 7.938 kB / 459.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006488/0.3757, allocations: 4.253 MB / 463.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/0.3773, allocations: 0.805 MB / 464.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004634/0.3777, allocations: 48 kB / 464.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.3791, allocations: 211.7 kB / 464.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004366/0.3796, allocations: 221.5 kB / 464.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/0.3798, allocations: 123.9 kB / 464.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002414/0.3822, allocations: 1.629 MB / 466.5 MB, free: 9.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3822, allocations: 0 / 466.5 MB, free: 9.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004164/0.3864, allocations: 1.328 MB / 467.8 MB, free: 8.195 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.0005054/0.3869, allocations: 218.6 kB / 468 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006296/0.3932, allocations: 4.114 MB / 472.1 MB, free: 3.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3932, allocations: 0 / 472.1 MB, free: 3.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002189/0.3954, allocations: 1.391 MB / 473.5 MB, free: 2.453 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.3974, allocations: 0.4975 MB / 474 MB, free: 1.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.412, allocations: 9.785 MB / 483.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.4134, allocations: 1.5 MB / 485.3 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003517/0.417, allocations: 1.951 MB / 487.3 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/0.4184, allocations: 468.1 kB / 487.7 MB, free: 4.141 MB / 378.7 MB Notification: Performance of SimCode: time 2.765e-06/0.4184, allocations: 0 / 487.7 MB, free: 4.141 MB / 378.7 MB Notification: Performance of Templates: time 0.174/0.5924, allocations: 51.27 MB / 0.5263 GB, free: 129.2 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.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: 4.454618099145591]