Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002586/0.002586, allocations: 182.8 kB / 8.156 MB, free: 2.18 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.969/1.969, allocations: 205.2 MB / 213.7 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 90.06 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.716e-06, allocations: 0 / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2501, allocations: 47.56 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.4064, allocations: 98.19 MB / 460 MB, free: 3.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.4068, allocations: 83.95 kB / 460.1 MB, free: 3.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.5556/0.9624, allocations: 95.04 MB / 0.5421 GB, free: 91.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003695/0.9628, allocations: 116.4 kB / 0.5422 GB, free: 91.86 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.03543/0.9983, allocations: 5.446 MB / 0.5476 GB, free: 89.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.9984, allocations: 9.031 kB / 0.5476 GB, free: 89.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01845/1.017, allocations: 1.928 MB / 0.5494 GB, free: 88.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02162/1.038, allocations: 4.983 MB / 0.5543 GB, free: 85.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000379/1.039, allocations: 173.3 kB / 0.5545 GB, free: 85.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003155/1.042, allocations: 299 kB / 0.5548 GB, free: 85.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02202/1.064, allocations: 7.982 MB / 0.5626 GB, free: 77.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03286/1.097, allocations: 11.76 MB / 0.574 GB, free: 64.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003279/1.097, allocations: 71.31 kB / 0.5741 GB, free: 64.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00267/1.1, allocations: 32 kB / 0.5741 GB, free: 64.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002704/1.103, allocations: 1.269 MB / 0.5754 GB, free: 63.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09594/1.199, allocations: 55.68 MB / 0.6298 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008726/1.208, allocations: 4.454 MB / 0.6341 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007338/1.215, allocations: 3.306 MB / 0.6373 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03188/1.247, allocations: 10 MB / 0.6471 GB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/1.247, allocations: 55.88 kB / 0.6472 GB, free: 4.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=215): time 6.452e-06/1.247, allocations: 0 / 0.6472 GB, free: 4.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=246): time 0.2402/1.487, allocations: 22.26 MB / 0.6689 GB, free: 137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/1.488, allocations: 152.5 kB / 0.669 GB, free: 136.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008251/1.496, allocations: 3.426 MB / 0.6724 GB, free: 136.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007875/1.497, allocations: 25.7 kB / 0.6724 GB, free: 136.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002705/1.499, allocations: 3.382 MB / 0.6757 GB, free: 134.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001704/1.501, allocations: 0.9092 MB / 0.6766 GB, free: 133.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/1.502, allocations: 0 / 0.6766 GB, free: 133.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006266/1.503, allocations: 0.6086 MB / 0.6772 GB, free: 133.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008111/1.511, allocations: 2.967 MB / 0.6801 GB, free: 133.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/1.522, allocations: 7.144 MB / 0.6871 GB, free: 127.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/1.533, allocations: 4.56 MB / 0.6915 GB, free: 126.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001545/1.533, allocations: 43.91 kB / 0.6916 GB, free: 126.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=936) (initialization): time 0.03267/1.566, allocations: 9.979 MB / 0.7013 GB, free: 123.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.566, allocations: 8.5 kB / 0.7013 GB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004395/1.566, allocations: 149.6 kB / 0.7015 GB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005743/1.572, allocations: 1.076 MB / 0.7025 GB, free: 123.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01361/1.586, allocations: 1.742 MB / 0.7042 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/1.598, allocations: 5.924 MB / 0.71 GB, free: 119.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008641/1.607, allocations: 240.1 kB / 0.7102 GB, free: 119 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002119/1.609, allocations: 446.8 kB / 0.7107 GB, free: 118.6 MB / 410.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 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003041/1.612, allocations: 422 kB / 0.7111 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.614, allocations: 367.2 kB / 0.7114 GB, free: 117.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/1.631, allocations: 5.356 MB / 0.7166 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/1.631, allocations: 27.14 kB / 0.7167 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/1.631, allocations: 4 kB / 0.7167 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.165e-05/1.631, allocations: 10.73 kB / 0.7167 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03341/1.665, allocations: 10.75 MB / 0.7272 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-05/1.665, allocations: 6 kB / 0.7272 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005745/1.671, allocations: 462.7 kB / 0.7276 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005086/1.676, allocations: 0.8715 MB / 0.7285 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008365/1.677, allocations: 11.8 kB / 0.7285 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.688, allocations: 5.231 MB / 0.7336 GB, free: 99.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/1.688, allocations: 15.84 kB / 0.7336 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02436/1.713, allocations: 9.553 MB / 0.7429 GB, free: 90.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003482/1.716, allocations: 0.8326 MB / 0.7438 GB, free: 89.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00176/1.718, allocations: 8.797 kB / 0.7438 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005189/1.723, allocations: 98.41 kB / 0.7439 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001149/1.724, allocations: 126.2 kB / 0.744 GB, free: 89.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003619/1.725, allocations: 70.47 kB / 0.744 GB, free: 89.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.006479/1.731, allocations: 2.291 MB / 0.7463 GB, free: 87.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009562/1.741, allocations: 1.079 MB / 0.7473 GB, free: 86.39 MB / 410.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.001182/1.742, allocations: 160.7 kB / 0.7475 GB, free: 86.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01717/1.759, allocations: 6.93 MB / 0.7543 GB, free: 80 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.759, allocations: 8.188 kB / 0.7543 GB, free: 79.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007165/1.766, allocations: 2.636 MB / 0.7568 GB, free: 77.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/1.771, allocations: 340.2 kB / 0.7572 GB, free: 77.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04447/1.815, allocations: 10.59 MB / 0.7675 GB, free: 66.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01814/1.833, allocations: 4.256 MB / 0.7717 GB, free: 62.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.954e-06/1.834, allocations: 0 / 0.7717 GB, free: 62.45 MB / 410.7 MB Notification: Performance of Templates: time 0.3935/2.227, allocations: 90.37 MB / 0.8599 GB, free: 115.2 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches