Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [: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.001667/0.001667, allocations: 182 kB / 8.15 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.2 MB / 213.7 MB, free: 8.598 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001747/0.001746, allocations: 94.92 kB / 261.8 MB, free: 5.16 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.014e-05, allocations: 0 / 314.3 MB, free: 2.457 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1429, allocations: 47.57 MB / 361.8 MB, free: 2.773 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3397/0.4826, allocations: 97.47 MB / 459.3 MB, free: 6.656 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.483, allocations: 80.39 kB / 459.4 MB, free: 6.617 MB / 338.8 MB Notification: Performance of FrontEnd: time 0.5226/1.006, allocations: 82.08 MB / 0.5288 GB, free: 81.73 MB / 402.8 MB Notification: Performance of Transformations before backend: time 0.0002775/1.006, allocations: 78.69 kB / 0.5289 GB, free: 81.73 MB / 402.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02731/1.033, allocations: 4.421 MB / 0.5332 GB, free: 80.03 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.033, allocations: 7.156 kB / 0.5332 GB, free: 80.03 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/1.05, allocations: 1.826 MB / 0.535 GB, free: 79.75 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01783/1.068, allocations: 4.531 MB / 0.5394 GB, free: 79.18 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/1.068, allocations: 136 kB / 0.5395 GB, free: 79.18 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002495/1.07, allocations: 248.8 kB / 0.5398 GB, free: 79.17 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01797/1.088, allocations: 6.54 MB / 0.5461 GB, free: 79.14 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02688/1.115, allocations: 9.87 MB / 0.5558 GB, free: 76.3 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002795/1.116, allocations: 64.56 kB / 0.5558 GB, free: 76.3 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001931/1.118, allocations: 35.59 kB / 0.5559 GB, free: 76.29 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002409/1.12, allocations: 1.06 MB / 0.5569 GB, free: 76.28 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07655/1.197, allocations: 47.7 MB / 0.6035 GB, free: 40.95 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009547/1.206, allocations: 3.327 MB / 0.6067 GB, free: 39.27 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006328/1.213, allocations: 1.904 MB / 0.6086 GB, free: 38.5 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02307/1.236, allocations: 5.925 MB / 0.6144 GB, free: 35.04 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/1.236, allocations: 52.41 kB / 0.6144 GB, free: 34.99 MB / 402.8 MB Notification: Performance of pre-optimization done (n=139): time 9.007e-06/1.236, allocations: 1.125 kB / 0.6144 GB, free: 34.99 MB / 402.8 MB Notification: Performance of matching and sorting (n=146): time 0.03801/1.274, allocations: 11.24 MB / 0.6254 GB, free: 29.87 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/1.274, allocations: 145.5 kB / 0.6256 GB, free: 29.71 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008968/1.283, allocations: 3.2 MB / 0.6287 GB, free: 28.1 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004246/1.284, allocations: 25.7 kB / 0.6287 GB, free: 28.07 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002351/1.286, allocations: 3.029 MB / 0.6317 GB, free: 25.3 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/1.287, allocations: 0.5801 MB / 0.6322 GB, free: 24.79 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007156/1.288, allocations: 0 / 0.6322 GB, free: 24.79 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0004398/1.288, allocations: 0.5651 MB / 0.6328 GB, free: 24.29 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005177/1.293, allocations: 1.925 MB / 0.6347 GB, free: 22.57 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007926/1.301, allocations: 5.882 MB / 0.6404 GB, free: 14.99 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007818/1.309, allocations: 3.356 MB / 0.6437 GB, free: 12.12 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.309, allocations: 44 kB / 0.6437 GB, free: 12.08 MB / 402.8 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02353/1.333, allocations: 7.353 MB / 0.6509 GB, free: 5.754 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.333, allocations: 8 kB / 0.6509 GB, free: 5.746 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002402/1.333, allocations: 140.8 kB / 0.651 GB, free: 5.609 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004716/1.338, allocations: 0.86 MB / 0.6519 GB, free: 4.949 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009962/1.348, allocations: 1.431 MB / 0.6533 GB, free: 3.691 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/1.359, allocations: 4.891 MB / 0.6581 GB, free: 15.28 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006244/1.366, allocations: 192.6 kB / 0.6582 GB, free: 15.11 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/1.368, allocations: 391.9 kB / 0.6586 GB, free: 14.73 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 652 * Number of states: 0 () * Number of discrete variables: 36 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 759 * 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.002288/1.37, allocations: 388.9 kB / 0.659 GB, free: 14.35 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.371, allocations: 315.9 kB / 0.6593 GB, free: 14.04 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/1.382, allocations: 2.7 MB / 0.6619 GB, free: 11.89 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/1.382, allocations: 16 kB / 0.6619 GB, free: 11.88 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/1.382, allocations: 4 kB / 0.6619 GB, free: 11.88 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-05/1.382, allocations: 12.7 kB / 0.662 GB, free: 11.87 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02299/1.405, allocations: 6.143 MB / 0.668 GB, free: 5.801 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/1.406, allocations: 0 / 0.668 GB, free: 5.801 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002861/1.408, allocations: 231.7 kB / 0.6682 GB, free: 5.574 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004436/1.413, allocations: 0.6407 MB / 0.6688 GB, free: 4.93 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003916/1.413, allocations: 4 kB / 0.6688 GB, free: 4.926 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/1.427, allocations: 4.115 MB / 0.6728 GB, free: 0.6953 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.428, allocations: 0 / 0.6728 GB, free: 0.6953 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2193/1.647, allocations: 5.063 MB / 0.6778 GB, free: 126 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003207/1.65, allocations: 0.5723 MB / 0.6783 GB, free: 125.9 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001719/1.652, allocations: 5.75 kB / 0.6783 GB, free: 125.9 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004789/1.657, allocations: 50.41 kB / 0.6784 GB, free: 125.9 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008494/1.658, allocations: 67.72 kB / 0.6784 GB, free: 125.9 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004292/1.658, allocations: 37.91 kB / 0.6785 GB, free: 125.9 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.009096/1.667, allocations: 2.141 MB / 0.6806 GB, free: 125.8 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.01176/1.679, allocations: 0.8179 MB / 0.6814 GB, free: 125.8 MB / 418.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/1.68, allocations: 137.3 kB / 0.6815 GB, free: 125.7 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.01117/1.691, allocations: 4.553 MB / 0.686 GB, free: 125.6 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.692, allocations: 0 / 0.686 GB, free: 125.6 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002989/1.695, allocations: 1.325 MB / 0.6872 GB, free: 125.5 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/1.697, allocations: 321.2 kB / 0.6876 GB, free: 125.4 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/1.72, allocations: 7.721 MB / 0.6951 GB, free: 124 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00828/1.729, allocations: 3.594 MB / 0.6986 GB, free: 123.2 MB / 418.8 MB Notification: Performance of SimCode: time 1.854e-06/1.729, allocations: 0 / 0.6986 GB, free: 123.2 MB / 418.8 MB Notification: Performance of Templates: time 0.1354/1.864, allocations: 71.13 MB / 0.7681 GB, free: 90.92 MB / 418.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches