Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [: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 trunk/package.mo): time 0.001056/0.001056, allocations: 199.8 kB / 8.542 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 225.5 MB / 234.4 MB, free: 3.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008888/0.0008888, allocations: 96.66 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.015e-06, allocations: 4 kB / 343.1 MB, free: 8.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09601, allocations: 51.48 MB / 394.6 MB, free: 5.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3053/0.4014, allocations: 99.32 MB / 493.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.4016, allocations: 87.52 kB / 494 MB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.4972/0.8989, allocations: 102.8 MB / 0.5829 GB, free: 54.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000344/0.8993, allocations: 104.3 kB / 0.583 GB, free: 54.87 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01512/0.9144, allocations: 5.113 MB / 0.588 GB, free: 52.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.9145, allocations: 9 kB / 0.588 GB, free: 52.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02563/0.9401, allocations: 6.566 MB / 0.5944 GB, free: 52.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/0.9559, allocations: 5.824 MB / 0.6001 GB, free: 51.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.9562, allocations: 166.5 kB / 0.6002 GB, free: 51.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002152/0.9583, allocations: 313.3 kB / 0.6005 GB, free: 51.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01319/0.9715, allocations: 7.464 MB / 0.6078 GB, free: 51.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.9935, allocations: 11.13 MB / 0.6187 GB, free: 48.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004551/0.9941, allocations: 76.33 kB / 0.6188 GB, free: 48.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002515/0.9966, allocations: 40.09 kB / 0.6188 GB, free: 48.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001763/0.9984, allocations: 1.141 MB / 0.6199 GB, free: 48.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06454/1.063, allocations: 55.79 MB / 0.6744 GB, free: 28.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00419/1.067, allocations: 3.429 MB / 0.6777 GB, free: 26.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/1.07, allocations: 2.402 MB / 0.6801 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/1.082, allocations: 7.566 MB / 0.6875 GB, free: 21.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/1.082, allocations: 57.56 kB / 0.6875 GB, free: 21.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=171): time 7.003e-06/1.082, allocations: 0.9688 kB / 0.6875 GB, free: 21.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=198): time 0.03452/1.116, allocations: 17.67 MB / 0.7048 GB, free: 13.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/1.116, allocations: 200.4 kB / 0.705 GB, free: 13.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004669/1.121, allocations: 3.626 MB / 0.7085 GB, free: 12.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003712/1.121, allocations: 28.42 kB / 0.7085 GB, free: 12.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/1.123, allocations: 3.342 MB / 0.7118 GB, free: 9.574 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008131/1.124, allocations: 0.7411 MB / 0.7125 GB, free: 9.031 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/1.124, allocations: 4 kB / 0.7125 GB, free: 9.027 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003138/1.124, allocations: 0.5831 MB / 0.7131 GB, free: 8.605 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/1.127, allocations: 2.021 MB / 0.7151 GB, free: 7.898 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004454/1.131, allocations: 5.97 MB / 0.7209 GB, free: 1.664 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005847/1.137, allocations: 3.483 MB / 0.7243 GB, free: 232 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/1.138, allocations: 40 kB / 0.7243 GB, free: 192 kB / 458.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02149/1.159, allocations: 7.94 MB / 0.7321 GB, free: 9.977 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.159, allocations: 4 kB / 0.7321 GB, free: 9.973 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003455/1.159, allocations: 148.8 kB / 0.7322 GB, free: 9.828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/1.163, allocations: 0.9141 MB / 0.7331 GB, free: 9.098 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005734/1.168, allocations: 1.468 MB / 0.7346 GB, free: 7.812 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009296/1.178, allocations: 6.879 MB / 0.7413 GB, free: 1.367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00551/1.183, allocations: 191.9 kB / 0.7415 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001522/1.185, allocations: 399.2 kB / 0.7419 GB, free: 0.8125 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (785): * Single equations (assignments): 780 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001987/1.187, allocations: 471.6 kB / 0.7423 GB, free: 356 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.216/1.403, allocations: 384.8 kB / 0.7427 GB, free: 138.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006707/1.41, allocations: 3.074 MB / 0.7457 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.047e-05/1.41, allocations: 19.59 kB / 0.7457 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.41, allocations: 7.844 kB / 0.7457 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/1.41, allocations: 7.312 kB / 0.7457 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/1.43, allocations: 7.589 MB / 0.7531 GB, free: 137.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.43, allocations: 0 / 0.7531 GB, free: 137.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.432, allocations: 291.4 kB / 0.7534 GB, free: 137.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/1.434, allocations: 0.6692 MB / 0.754 GB, free: 137.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/1.434, allocations: 3.625 kB / 0.7541 GB, free: 137.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006744/1.441, allocations: 6.042 MB / 0.76 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/1.441, allocations: 2.75 kB / 0.76 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008049/1.449, allocations: 5.709 MB / 0.7655 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/1.451, allocations: 417 kB / 0.7659 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005264/1.451, allocations: 2.812 kB / 0.7659 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.453, allocations: 49.3 kB / 0.766 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/1.453, allocations: 92.8 kB / 0.7661 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.453, allocations: 52.97 kB / 0.7661 GB, free: 134.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004268/1.457, allocations: 2.469 MB / 0.7685 GB, free: 134.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007207/1.464, allocations: 0.973 MB / 0.7695 GB, free: 134.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 143 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005815/1.465, allocations: 152.4 kB / 0.7696 GB, free: 134.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008215/1.473, allocations: 5.047 MB / 0.7746 GB, free: 134.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.473, allocations: 3.312 kB / 0.7746 GB, free: 134.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002803/1.476, allocations: 1.698 MB / 0.7762 GB, free: 133.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003723/1.48, allocations: 437.9 kB / 0.7766 GB, free: 133.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.501, allocations: 8.865 MB / 0.7853 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006488/1.508, allocations: 4.256 MB / 0.7894 GB, free: 131 MB / 474.7 MB Notification: Performance of SimCode: time 1.773e-06/1.508, allocations: 0 / 0.7894 GB, free: 131 MB / 474.7 MB Notification: Performance of Templates: time 0.08845/1.596, allocations: 40.1 MB / 0.8286 GB, free: 129 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches