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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 179.3 kB / 8.478 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.2 MB / 214.1 MB, free: 5.168 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009896/0.0009896, allocations: 90.23 kB / 262.1 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.606e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08357/0.0836, allocations: 47.57 MB / 362.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3123/0.396, allocations: 98.18 MB / 460.7 MB, free: 6.832 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.3964, allocations: 91.14 kB / 460.8 MB, free: 6.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.2567/0.6531, allocations: 95.04 MB / 0.5428 GB, free: 2.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002345/0.6534, allocations: 100 kB / 0.5429 GB, free: 2.746 MB / 394.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.02137/0.6748, allocations: 5.44 MB / 0.5482 GB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.6748, allocations: 12.03 kB / 0.5482 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.6861, allocations: 1.931 MB / 0.5501 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01603/0.7022, allocations: 4.988 MB / 0.555 GB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/0.7025, allocations: 168 kB / 0.5552 GB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003001/0.7055, allocations: 307.9 kB / 0.5555 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0177/0.7233, allocations: 7.982 MB / 0.5632 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0288/0.7521, allocations: 11.76 MB / 0.5747 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/0.7524, allocations: 67.34 kB / 0.5748 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001674/0.7541, allocations: 35.98 kB / 0.5748 GB, free: 0.793 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2094/0.9635, allocations: 1.267 MB / 0.5761 GB, free: 131.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06537/1.029, allocations: 55.68 MB / 0.6304 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005426/1.034, allocations: 4.448 MB / 0.6348 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004638/1.039, allocations: 3.313 MB / 0.638 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0168/1.056, allocations: 9.994 MB / 0.6478 GB, free: 95.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/1.056, allocations: 59.22 kB / 0.6478 GB, free: 95.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=215): time 6.693e-06/1.056, allocations: 0 / 0.6478 GB, free: 95.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=246): time 0.04386/1.1, allocations: 22.28 MB / 0.6696 GB, free: 86.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.1, allocations: 155.1 kB / 0.6697 GB, free: 86.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005279/1.105, allocations: 3.426 MB / 0.6731 GB, free: 85.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005859/1.106, allocations: 25.7 kB / 0.6731 GB, free: 85.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.108, allocations: 3.419 MB / 0.6764 GB, free: 82.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00115/1.109, allocations: 0.9117 MB / 0.6773 GB, free: 82.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/1.109, allocations: 0 / 0.6773 GB, free: 82.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003207/1.11, allocations: 0.6067 MB / 0.6779 GB, free: 81.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/1.113, allocations: 2.969 MB / 0.6808 GB, free: 80.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005153/1.118, allocations: 7.148 MB / 0.6878 GB, free: 73.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006045/1.124, allocations: 4.552 MB / 0.6923 GB, free: 69.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.073e-05/1.125, allocations: 48 kB / 0.6923 GB, free: 69.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=936) (initialization): time 0.01905/1.144, allocations: 10.07 MB / 0.7021 GB, free: 61.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/1.144, allocations: 8 kB / 0.7021 GB, free: 61.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002259/1.144, allocations: 148 kB / 0.7023 GB, free: 61.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/1.147, allocations: 1.077 MB / 0.7033 GB, free: 60.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00705/1.154, allocations: 1.738 MB / 0.705 GB, free: 58.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006458/1.16, allocations: 5.533 MB / 0.7104 GB, free: 54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006739/1.167, allocations: 252.8 kB / 0.7107 GB, free: 53.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001992/1.169, allocations: 456.5 kB / 0.7111 GB, free: 53.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 683 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (897): * Single equations (assignments): 893 * 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.002435/1.172, allocations: 485.5 kB / 0.7116 GB, free: 52.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009854/1.173, allocations: 367.2 kB / 0.7119 GB, free: 52.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009367/1.182, allocations: 5.351 MB / 0.7172 GB, free: 48.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.548e-05/1.182, allocations: 27.38 kB / 0.7172 GB, free: 48.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.671e-05/1.182, allocations: 4 kB / 0.7172 GB, free: 48.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.652e-05/1.182, allocations: 10.83 kB / 0.7172 GB, free: 48.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/1.203, allocations: 10.75 MB / 0.7277 GB, free: 39.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/1.203, allocations: 4 kB / 0.7277 GB, free: 39.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002845/1.206, allocations: 464.7 kB / 0.7281 GB, free: 39.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/1.209, allocations: 0.8736 MB / 0.729 GB, free: 38.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005018/1.209, allocations: 9.969 kB / 0.729 GB, free: 38.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006135/1.215, allocations: 5.234 MB / 0.7341 GB, free: 33.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.215, allocations: 8 kB / 0.7341 GB, free: 33.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01383/1.229, allocations: 9.557 MB / 0.7435 GB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002606/1.232, allocations: 0.8352 MB / 0.7443 GB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/1.233, allocations: 15.98 kB / 0.7443 GB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/1.236, allocations: 91.88 kB / 0.7444 GB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005404/1.237, allocations: 125.7 kB / 0.7445 GB, free: 22.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002992/1.237, allocations: 67.98 kB / 0.7446 GB, free: 22.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004432/1.242, allocations: 2.292 MB / 0.7468 GB, free: 20.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008008/1.25, allocations: 1.084 MB / 0.7479 GB, free: 19.22 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 215 * 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.000774/1.25, allocations: 157.6 kB / 0.748 GB, free: 19.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01122/1.262, allocations: 7.005 MB / 0.7548 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.262, allocations: 4.188 kB / 0.7549 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003802/1.266, allocations: 2.64 MB / 0.7574 GB, free: 9.426 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/1.268, allocations: 341.9 kB / 0.7578 GB, free: 9.094 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1811/1.449, allocations: 10.02 MB / 0.7675 GB, free: 119.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01023/1.46, allocations: 4.255 MB / 0.7717 GB, free: 119 MB / 426.7 MB Notification: Performance of SimCode: time 2.375e-06/1.46, allocations: 0 / 0.7717 GB, free: 119 MB / 426.7 MB Notification: Performance of Templates: time 0.09582/1.555, allocations: 48.42 MB / 0.819 GB, free: 115.7 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (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) 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