Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 175.4 kB / 8.004 MB, free: 1.07 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.341/1.341, allocations: 205.3 MB / 213.7 MB, free: 1.68 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.0007961/0.0007963, allocations: 90.14 kB / 261.8 MB, free: 1.625 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2504/0.2504, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.181e-05, allocations: 7.984 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.6082, allocations: 108.1 MB / 0.5715 GB, free: 3.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.6086, allocations: 86.42 kB / 0.5715 GB, free: 3.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2858/0.8944, allocations: 104.9 MB / 0.674 GB, free: 2.719 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.8945, allocations: 0 / 0.674 GB, free: 2.719 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004327/0.8949, allocations: 104 kB / 0.6741 GB, free: 2.617 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01956/0.9145, allocations: 5.271 MB / 0.6792 GB, free: 13.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.9145, allocations: 8.031 kB / 0.6792 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02967/0.9442, allocations: 6.939 MB / 0.686 GB, free: 6.312 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02014/0.9644, allocations: 6.879 MB / 0.6927 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000529/0.965, allocations: 172.3 kB / 0.6929 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003207/0.9683, allocations: 331.8 kB / 0.6932 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01556/0.9838, allocations: 7.553 MB / 0.7006 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3959/1.38, allocations: 11.33 MB / 0.7117 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006159/1.38, allocations: 78.09 kB / 0.7117 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003035/1.384, allocations: 34.69 kB / 0.7118 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00256/1.386, allocations: 1.13 MB / 0.7129 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08167/1.468, allocations: 56.06 MB / 0.7676 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00479/1.473, allocations: 3.493 MB / 0.771 GB, free: 70.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/1.475, allocations: 2.272 MB / 0.7732 GB, free: 70.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004102/1.476, allocations: 341.1 kB / 0.7736 GB, free: 70.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/1.476, allocations: 56.25 kB / 0.7736 GB, free: 70.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=201): time 6.082e-06/1.476, allocations: 0 / 0.7736 GB, free: 70.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=228): time 0.04016/1.516, allocations: 19.98 MB / 0.7931 GB, free: 63.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.73e-05/1.516, allocations: 207.8 kB / 0.7933 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00638/1.523, allocations: 3.676 MB / 0.7969 GB, free: 61.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006447/1.523, allocations: 25.7 kB / 0.7969 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002553/1.526, allocations: 3.838 MB / 0.8007 GB, free: 58.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.527, allocations: 0.8414 MB / 0.8015 GB, free: 58.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/1.527, allocations: 0 / 0.8015 GB, free: 58.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003311/1.528, allocations: 0.5932 MB / 0.8021 GB, free: 57.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/1.531, allocations: 2.17 MB / 0.8042 GB, free: 57.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004974/1.536, allocations: 6.255 MB / 0.8103 GB, free: 50.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005414/1.541, allocations: 3.658 MB / 0.8139 GB, free: 49.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/1.541, allocations: 41.94 kB / 0.8139 GB, free: 49.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01908/1.56, allocations: 8.244 MB / 0.822 GB, free: 46.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/1.561, allocations: 77.23 kB / 0.8221 GB, free: 46.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000168/1.561, allocations: 145.5 kB / 0.8222 GB, free: 46.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002503/1.563, allocations: 0.9544 MB / 0.8231 GB, free: 46.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005754/1.569, allocations: 1.576 MB / 0.8247 GB, free: 46.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008374/1.577, allocations: 7.252 MB / 0.8317 GB, free: 41.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006986/1.585, allocations: 234.2 kB / 0.832 GB, free: 41.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/1.586, allocations: 422.6 kB / 0.8324 GB, free: 41.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],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 (835): * Single equations (assignments): 830 * 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.001388/1.588, allocations: 477.2 kB / 0.8328 GB, free: 41.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/1.589, allocations: 404.7 kB / 0.8332 GB, free: 41.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006239/1.595, allocations: 3.494 MB / 0.8366 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.984e-05/1.595, allocations: 23.09 kB / 0.8366 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/1.595, allocations: 7.5 kB / 0.8367 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/1.595, allocations: 14.06 kB / 0.8367 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/1.616, allocations: 8.562 MB / 0.845 GB, free: 34.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/1.616, allocations: 0 / 0.845 GB, free: 34.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/1.617, allocations: 365.3 kB / 0.8454 GB, free: 34.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/1.62, allocations: 0.6764 MB / 0.846 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/1.62, allocations: 7.609 kB / 0.846 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006512/1.626, allocations: 6.209 MB / 0.8521 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.626, allocations: 4.031 kB / 0.8521 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008906/1.635, allocations: 6.326 MB / 0.8583 GB, free: 22.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/1.638, allocations: 0.7179 MB / 0.859 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005949/1.638, allocations: 0 / 0.859 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/1.64, allocations: 84.38 kB / 0.8591 GB, free: 21.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/1.64, allocations: 138.7 kB / 0.8592 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.64, allocations: 66.33 kB / 0.8593 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004775/1.645, allocations: 2.494 MB / 0.8617 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.51e-07/1.645, allocations: 3.938 kB / 0.8617 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00878/1.654, allocations: 1.037 MB / 0.8627 GB, free: 18.63 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (179): * Single equations (assignments): 174 * 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.0007779/1.655, allocations: 142.1 kB / 0.8629 GB, free: 18.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.665, allocations: 5.473 MB / 0.8682 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.665, allocations: 4 kB / 0.8682 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002832/1.668, allocations: 1.948 MB / 0.8701 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/1.672, allocations: 446.5 kB / 0.8705 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/1.695, allocations: 9.273 MB / 0.8796 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005988/1.701, allocations: 4.122 MB / 0.8836 GB, free: 28 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006508/1.708, allocations: 2.18 MB / 0.8857 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/1.709, allocations: 277.7 kB / 0.886 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/1.709, allocations: 4.781 kB / 0.886 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.4278/2.137, allocations: 36.63 MB / 0.9218 GB, free: 111 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches