Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 227.2 MB / 245 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009448/0.0009445, allocations: 104.1 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3034/0.3034, allocations: 45.22 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002582/0.0002582, allocations: 8 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3068, allocations: 63.23 MB / 0.5192 GB, free: 43.74 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.4389, allocations: 110.8 MB / 0.6274 GB, free: 10.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4392, allocations: 87.95 kB / 0.6275 GB, free: 10.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5008/0.94, allocations: 106.6 MB / 0.7316 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.956e-06/0.94, allocations: 3.938 kB / 0.7316 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003993/0.9404, allocations: 111.2 kB / 0.7317 GB, free: 94.69 MB / 0.4948 GB 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.01871/0.9591, allocations: 5.614 MB / 0.7372 GB, free: 92.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.9592, allocations: 8.25 kB / 0.7372 GB, free: 92.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0261/0.9853, allocations: 6.922 MB / 0.744 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01719/1.003, allocations: 5.872 MB / 0.7497 GB, free: 91.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004023/1.003, allocations: 397.7 kB / 0.7501 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001994/1.005, allocations: 0.5122 MB / 0.7506 GB, free: 91.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/1.027, allocations: 12.33 MB / 0.7626 GB, free: 85.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/1.027, allocations: 73.66 kB / 0.7627 GB, free: 85.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005506/1.027, allocations: 246.8 kB / 0.7629 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/1.028, allocations: 1.076 MB / 0.764 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/1.043, allocations: 10.06 MB / 0.7738 GB, free: 81.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04756/1.091, allocations: 55.56 MB / 0.8281 GB, free: 39.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008672/1.099, allocations: 4.19 MB / 0.8322 GB, free: 36.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/1.112, allocations: 9.36 MB / 0.8413 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/1.112, allocations: 55.5 kB / 0.8414 GB, free: 26.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=171): time 4.509e-06/1.112, allocations: 0 / 0.8414 GB, free: 26.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=197): time 0.04304/1.155, allocations: 17.71 MB / 0.8586 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/1.155, allocations: 209.2 kB / 0.8588 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006644/1.162, allocations: 4.137 MB / 0.8629 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002974/1.162, allocations: 53.7 kB / 0.8629 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/1.164, allocations: 3.657 MB / 0.8665 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000617/1.165, allocations: 0.7641 MB / 0.8673 GB, free: 168 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/1.165, allocations: 126.1 kB / 0.8674 GB, free: 44 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003756/1.165, allocations: 0.5665 MB / 0.8679 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/1.168, allocations: 2.089 MB / 0.87 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00558/1.174, allocations: 5.939 MB / 0.8758 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004717/1.179, allocations: 3.467 MB / 0.8792 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.281e-05/1.179, allocations: 40 kB / 0.8792 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01513/1.194, allocations: 8.514 MB / 0.8875 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/1.194, allocations: 64 kB / 0.8876 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/1.194, allocations: 136 kB / 0.8877 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002463/1.196, allocations: 0.9335 MB / 0.8886 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004927/1.201, allocations: 1.435 MB / 0.89 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2792/1.481, allocations: 7.608 MB / 0.8974 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005163/1.486, allocations: 334.3 kB / 0.8978 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.487, allocations: 386.2 kB / 0.8981 GB, free: 111.1 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.004661/1.492, allocations: 2.479 MB / 0.9006 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009233/1.492, allocations: 414.4 kB / 0.9009 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006671/1.499, allocations: 3.224 MB / 0.9041 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/1.499, allocations: 22.84 kB / 0.9041 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.499, allocations: 5.656 kB / 0.9041 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/1.499, allocations: 14.69 kB / 0.9041 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/1.516, allocations: 8.586 MB / 0.9125 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.16e-05/1.516, allocations: 2.844 kB / 0.9125 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/1.517, allocations: 305.9 kB / 0.9128 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/1.519, allocations: 0.6893 MB / 0.9135 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/1.519, allocations: 33.41 kB / 0.9135 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006885/1.526, allocations: 6.729 MB / 0.9201 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.526, allocations: 2.062 kB / 0.9201 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008462/1.535, allocations: 5.787 MB / 0.9257 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/1.537, allocations: 454.3 kB / 0.9262 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007448/1.537, allocations: 33.83 kB / 0.9262 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/1.539, allocations: 101.5 kB / 0.9263 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004231/1.539, allocations: 121.6 kB / 0.9264 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.54, allocations: 51.94 kB / 0.9265 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007324/1.547, allocations: 2.935 MB / 0.9293 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.81e-07/1.547, allocations: 0 / 0.9293 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008134/1.555, allocations: 1.138 MB / 0.9305 GB, free: 105.3 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.0006409/1.556, allocations: 171.6 kB / 0.9306 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009622/1.565, allocations: 5.371 MB / 0.9359 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.565, allocations: 1.281 kB / 0.9359 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003049/1.569, allocations: 1.813 MB / 0.9376 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/1.572, allocations: 0.5186 MB / 0.9381 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/1.591, allocations: 12.75 MB / 0.9506 GB, free: 96.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00418/1.595, allocations: 3.971 MB / 0.9545 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004633/1.6, allocations: 2.003 MB / 0.9564 GB, free: 94.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006737/1.601, allocations: 270.6 kB / 0.9567 GB, free: 94.76 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/1.601, allocations: 0 / 0.9567 GB, free: 94.76 MB / 0.5261 GB Notification: Performance of Templates: time 0.06512/1.666, allocations: 39.35 MB / 0.9951 GB, free: 87.79 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches