Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009388/0.0009386, allocations: 183 kB / 18.09 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.3 MB / 242.1 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007803/0.0007803, allocations: 98.97 kB / 293.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3243/0.3243, allocations: 44.16 MB / 388.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 12 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3369, allocations: 61.88 MB / 0.5107 GB, free: 38.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.4887, allocations: 110 MB / 0.6182 GB, free: 1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.489, allocations: 99.91 kB / 0.6183 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5994/1.088, allocations: 102.9 MB / 0.7187 GB, free: 94.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.089, allocations: 1.156 kB / 0.7187 GB, free: 94.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005416/1.089, allocations: 104.1 kB / 0.7188 GB, free: 94.89 MB / 490.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.0207/1.11, allocations: 5.387 MB / 0.7241 GB, free: 92.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.11, allocations: 9.781 kB / 0.7241 GB, free: 92.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/1.131, allocations: 5.243 MB / 0.7292 GB, free: 91.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/1.145, allocations: 5.355 MB / 0.7345 GB, free: 89.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000427/1.145, allocations: 392.2 kB / 0.7348 GB, free: 89.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002446/1.148, allocations: 0.5142 MB / 0.7353 GB, free: 89.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02495/1.173, allocations: 12.21 MB / 0.7473 GB, free: 82.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002542/1.173, allocations: 74.78 kB / 0.7473 GB, free: 82.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/1.174, allocations: 251.9 kB / 0.7476 GB, free: 82.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001132/1.175, allocations: 1.078 MB / 0.7486 GB, free: 82.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/1.194, allocations: 9.909 MB / 0.7583 GB, free: 79.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05568/1.249, allocations: 55.51 MB / 0.8125 GB, free: 29.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009161/1.259, allocations: 4.19 MB / 0.8166 GB, free: 25.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/1.261, allocations: 2.255 MB / 0.8188 GB, free: 22.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01343/1.275, allocations: 9.277 MB / 0.8279 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/1.275, allocations: 51.56 kB / 0.8279 GB, free: 13.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=171): time 5.791e-06/1.275, allocations: 0 / 0.8279 GB, free: 13.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=197): time 0.04146/1.316, allocations: 17.44 MB / 0.845 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.316, allocations: 201.2 kB / 0.8451 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007756/1.324, allocations: 4.655 MB / 0.8497 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004563/1.325, allocations: 57.7 kB / 0.8497 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003006/1.328, allocations: 3.655 MB / 0.8533 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/1.329, allocations: 0.7603 MB / 0.8541 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/1.329, allocations: 124 kB / 0.8542 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003832/1.329, allocations: 0.5745 MB / 0.8547 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003292/1.333, allocations: 2.089 MB / 0.8568 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005553/1.338, allocations: 5.962 MB / 0.8626 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/1.349, allocations: 8.778 MB / 0.8712 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/1.349, allocations: 40 kB / 0.8712 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01686/1.366, allocations: 8.513 MB / 0.8795 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.979e-05/1.366, allocations: 64 kB / 0.8796 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/1.366, allocations: 143 kB / 0.8797 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/1.369, allocations: 0.914 MB / 0.8806 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004846/1.374, allocations: 1.431 MB / 0.882 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.286/1.66, allocations: 7.438 MB / 0.8893 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/1.664, allocations: 337.4 kB / 0.8896 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008366/1.665, allocations: 385.3 kB / 0.89 GB, free: 124.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 755 * 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.004618/1.67, allocations: 2.483 MB / 0.8924 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007488/1.671, allocations: 417.9 kB / 0.8928 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005403/1.676, allocations: 3.222 MB / 0.8959 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.159e-05/1.676, allocations: 26.83 kB / 0.896 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.676, allocations: 5.75 kB / 0.896 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/1.676, allocations: 11.09 kB / 0.896 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/1.69, allocations: 8.594 MB / 0.9044 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.69, allocations: 3.719 kB / 0.9044 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.692, allocations: 298 kB / 0.9047 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/1.694, allocations: 0.6892 MB / 0.9053 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/1.694, allocations: 38.91 kB / 0.9054 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00682/1.701, allocations: 6.563 MB / 0.9118 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.701, allocations: 5.125 kB / 0.9118 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0089/1.71, allocations: 5.676 MB / 0.9173 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.712, allocations: 454.2 kB / 0.9178 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006905/1.712, allocations: 35.75 kB / 0.9178 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.714, allocations: 97.91 kB / 0.9179 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004155/1.714, allocations: 120 kB / 0.918 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.714, allocations: 59.31 kB / 0.9181 GB, free: 116 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006498/1.721, allocations: 2.93 MB / 0.9209 GB, free: 115 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.62e-07/1.721, allocations: 2.062 kB / 0.9209 GB, free: 115 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007978/1.729, allocations: 1.135 MB / 0.922 GB, free: 114.9 MB / 0.5261 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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.0006153/1.729, allocations: 168.7 kB / 0.9222 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009341/1.739, allocations: 5.358 MB / 0.9274 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.739, allocations: 3.844 kB / 0.9274 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002802/1.742, allocations: 1.811 MB / 0.9292 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00419/1.746, allocations: 0.5485 MB / 0.9297 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.764, allocations: 12.78 MB / 0.9422 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004029/1.768, allocations: 3.867 MB / 0.946 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004712/1.772, allocations: 1.998 MB / 0.9479 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006385/1.773, allocations: 273.2 kB / 0.9482 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/1.773, allocations: 2.062 kB / 0.9482 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.06597/1.839, allocations: 39.5 MB / 0.9868 GB, free: 90.96 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches