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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 94.17 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 181.2 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB 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.0004413/0.0004413, allocations: 8 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09616, allocations: 47.59 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2073/0.3035, allocations: 56.67 MB / 385 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03464/0.3382, allocations: 13.01 MB / 398 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01715/0.3554, allocations: 277.6 kB / 398.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01054/0.3659, allocations: 2.826 MB / 401.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0276/0.3936, allocations: 8.085 MB / 409.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.3979, allocations: 0.6222 MB / 409.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006409/0.4044, allocations: 2.504 MB / 412.3 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009061/0.4135, allocations: 5.783 MB / 418.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.4164, allocations: 1.204 MB / 419.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.4193, allocations: 1.609 MB / 420.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007191/0.42, allocations: 174.2 kB / 421.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.4221, allocations: 0.788 MB / 421.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.4239, allocations: 1.846 MB / 423.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.4249, allocations: 1.009 MB / 424.7 MB, free: 0 / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007218/0.4322, allocations: 6.636 MB / 431.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4322, allocations: 0 / 431.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.227e-06/0.4322, allocations: 9.141 kB / 431.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002996/0.4325, allocations: 0 / 431.4 MB, free: 10.22 MB / 334.1 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.01864/0.4512, allocations: 5.545 MB / 436.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4512, allocations: 8.031 kB / 436.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008799/0.4601, allocations: 2.336 MB / 439.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008294/0.4684, allocations: 2.922 MB / 442.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.4688, allocations: 303.7 kB / 442.5 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00216/0.4709, allocations: 403.3 kB / 442.9 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03292/0.5039, allocations: 12.97 MB / 455.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003123/0.5042, allocations: 55.52 kB / 455.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002081/0.5063, allocations: 185.2 kB / 456.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004818/0.5112, allocations: 2.372 MB / 458.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02762/0.5388, allocations: 11.85 MB / 470.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07429/0.6132, allocations: 48.62 MB / 0.5068 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01786/0.6311, allocations: 5.691 MB / 0.5123 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007176/0.6319, allocations: 387 kB / 0.5127 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.6319, allocations: 55.88 kB / 0.5127 GB, free: 12.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=221): time 4.679e-06/0.6319, allocations: 0 / 0.5127 GB, free: 12.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.2554/0.8873, allocations: 28.69 MB / 0.5408 GB, free: 160.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.8874, allocations: 154.7 kB / 0.5409 GB, free: 160.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008041/0.8955, allocations: 4.718 MB / 0.5455 GB, free: 160.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007527/0.8962, allocations: 62.05 kB / 0.5456 GB, free: 160.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002482/0.8987, allocations: 3.588 MB / 0.5491 GB, free: 158.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001468/0.9002, allocations: 0.9492 MB / 0.55 GB, free: 157.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000497/0.9007, allocations: 143.6 kB / 0.5501 GB, free: 157.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004251/0.9011, allocations: 0.5985 MB / 0.5507 GB, free: 157.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005483/0.9066, allocations: 3.43 MB / 0.5541 GB, free: 156 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007385/0.9141, allocations: 7.463 MB / 0.5614 GB, free: 149.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006845/0.9209, allocations: 4.937 MB / 0.5662 GB, free: 147.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/0.9211, allocations: 41.12 kB / 0.5662 GB, free: 147.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02285/0.944, allocations: 11.81 MB / 0.5778 GB, free: 143.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.9441, allocations: 67.81 kB / 0.5778 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002464/0.9444, allocations: 142.5 kB / 0.578 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/0.9473, allocations: 1.156 MB / 0.5791 GB, free: 143.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006431/0.9537, allocations: 1.802 MB / 0.5809 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006568/0.9603, allocations: 6.113 MB / 0.5868 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006762/0.9671, allocations: 436.9 kB / 0.5872 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/0.9683, allocations: 463.8 kB / 0.5877 GB, free: 134.6 MB / 446.1 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 (871): * Single equations (assignments): 867 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004036/0.9724, allocations: 2.445 MB / 0.5901 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000838/0.9732, allocations: 418.5 kB / 0.5905 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008758/0.982, allocations: 6.494 MB / 0.5968 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-05/0.982, allocations: 28 kB / 0.5968 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.9821, allocations: 4 kB / 0.5968 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.9821, allocations: 11.95 kB / 0.5968 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/1.002, allocations: 13.55 MB / 0.6101 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.002, allocations: 4 kB / 0.6101 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00285/1.005, allocations: 0.5811 MB / 0.6107 GB, free: 111 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/1.007, allocations: 0.949 MB / 0.6116 GB, free: 110 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003978/1.008, allocations: 96.66 kB / 0.6117 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006012/1.014, allocations: 5.828 MB / 0.6174 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.014, allocations: 8.094 kB / 0.6174 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/1.028, allocations: 11.38 MB / 0.6285 GB, free: 92.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002789/1.03, allocations: 0.9562 MB / 0.6294 GB, free: 91.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007759/1.031, allocations: 40 kB / 0.6295 GB, free: 91.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/1.033, allocations: 177.1 kB / 0.6296 GB, free: 91.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004363/1.034, allocations: 193.8 kB / 0.6298 GB, free: 90.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/1.034, allocations: 116.6 kB / 0.6299 GB, free: 90.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004017/1.038, allocations: 2.974 MB / 0.6328 GB, free: 87.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.2e-07/1.038, allocations: 0 / 0.6328 GB, free: 87.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007773/1.046, allocations: 1.291 MB / 0.6341 GB, free: 86.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (227): * Single equations (assignments): 223 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007307/1.047, allocations: 215.1 kB / 0.6343 GB, free: 86.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01074/1.057, allocations: 8.083 MB / 0.6422 GB, free: 78.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.058, allocations: 0 / 0.6422 GB, free: 78.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004093/1.062, allocations: 3.173 MB / 0.6453 GB, free: 75.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/1.065, allocations: 465.3 kB / 0.6457 GB, free: 74.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/1.087, allocations: 14.63 MB / 0.66 GB, free: 59.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/1.09, allocations: 3.918 MB / 0.6638 GB, free: 56.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005539/1.096, allocations: 2.395 MB / 0.6662 GB, free: 53.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/1.097, allocations: 443 kB / 0.6666 GB, free: 53.19 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/1.097, allocations: 0 / 0.6666 GB, free: 53.19 MB / 446.1 MB Notification: Performance of Templates: time 0.2709/1.368, allocations: 54.66 MB / 0.72 GB, free: 144.3 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile Environment - environmentSimulation: (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches