Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001422/0.001422, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001111, allocations: 93.36 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3012/0.3012, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.122e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.39, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.5886, allocations: 108.1 MB / 0.5714 GB, free: 7.184 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.589, allocations: 87.94 kB / 0.5715 GB, free: 7.098 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7785/1.368, allocations: 104.9 MB / 0.674 GB, free: 105.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.294e-06/1.368, allocations: 0 / 0.674 GB, free: 105.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003933/1.368, allocations: 112.2 kB / 0.6741 GB, free: 105.3 MB / 475.1 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.02084/1.389, allocations: 5.265 MB / 0.6792 GB, free: 103.2 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.389, allocations: 11.81 kB / 0.6792 GB, free: 103.2 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04894/1.438, allocations: 6.935 MB / 0.686 GB, free: 102.8 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02444/1.462, allocations: 6.884 MB / 0.6927 GB, free: 100.6 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/1.463, allocations: 173.9 kB / 0.6929 GB, free: 100.6 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002948/1.466, allocations: 329.8 kB / 0.6932 GB, free: 100.6 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01982/1.486, allocations: 7.551 MB / 0.7006 GB, free: 97.92 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03027/1.516, allocations: 11.34 MB / 0.7116 GB, free: 91.71 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003909/1.516, allocations: 81.64 kB / 0.7117 GB, free: 91.66 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002526/1.519, allocations: 35.62 kB / 0.7118 GB, free: 91.66 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002432/1.521, allocations: 1.134 MB / 0.7129 GB, free: 91.29 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08008/1.602, allocations: 56.05 MB / 0.7676 GB, free: 34.94 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006293/1.608, allocations: 3.497 MB / 0.771 GB, free: 31.3 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004225/1.612, allocations: 2.276 MB / 0.7732 GB, free: 29.02 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005376/1.613, allocations: 340.2 kB / 0.7736 GB, free: 28.64 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/1.613, allocations: 55.86 kB / 0.7736 GB, free: 28.58 MB / 475.1 MB Notification: Performance of pre-optimization done (n=201): time 6.001e-06/1.613, allocations: 0 / 0.7736 GB, free: 28.58 MB / 475.1 MB Notification: Performance of matching and sorting (n=228): time 0.06314/1.676, allocations: 19.98 MB / 0.7931 GB, free: 8.508 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/1.676, allocations: 201.9 kB / 0.7933 GB, free: 8.27 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008039/1.684, allocations: 3.68 MB / 0.7969 GB, free: 4.578 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005353/1.685, allocations: 25.7 kB / 0.7969 GB, free: 4.547 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003067/1.688, allocations: 3.73 MB / 0.8006 GB, free: 0.7656 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.689, allocations: 0.8403 MB / 0.8014 GB, free: 15.91 MB / 491.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007392/1.69, allocations: 4 kB / 0.8014 GB, free: 15.91 MB / 491.1 MB Notification: Performance of setup shared object (initialization): time 0.000618/1.691, allocations: 0.604 MB / 0.802 GB, free: 15.3 MB / 491.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005906/1.697, allocations: 2.177 MB / 0.8041 GB, free: 13.12 MB / 491.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01042/1.707, allocations: 6.247 MB / 0.8102 GB, free: 4.82 MB / 491.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009202/1.716, allocations: 3.655 MB / 0.8138 GB, free: 1.16 MB / 491.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001547/1.716, allocations: 44 kB / 0.8138 GB, free: 1.117 MB / 491.1 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02591/1.742, allocations: 8.103 MB / 0.8217 GB, free: 9.004 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/1.743, allocations: 68 kB / 0.8218 GB, free: 8.938 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002537/1.743, allocations: 144.9 kB / 0.8219 GB, free: 8.797 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00472/1.748, allocations: 0.9669 MB / 0.8229 GB, free: 7.828 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/1.758, allocations: 1.575 MB / 0.8244 GB, free: 6.25 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3757/2.134, allocations: 7.251 MB / 0.8315 GB, free: 116.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007541/2.141, allocations: 237.9 kB / 0.8317 GB, free: 116.2 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/2.143, allocations: 417.3 kB / 0.8321 GB, free: 116.2 MB / 0.4952 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.002289/2.145, allocations: 486.9 kB / 0.8326 GB, free: 116.1 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/2.147, allocations: 401.4 kB / 0.833 GB, free: 116.1 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/2.158, allocations: 3.485 MB / 0.8364 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.402e-05/2.158, allocations: 24.67 kB / 0.8364 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/2.158, allocations: 8.344 kB / 0.8364 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-05/2.158, allocations: 10.64 kB / 0.8364 GB, free: 115.9 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0299/2.188, allocations: 8.561 MB / 0.8448 GB, free: 115.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.144e-05/2.188, allocations: 1.344 kB / 0.8448 GB, free: 115.3 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/2.192, allocations: 362 kB / 0.8451 GB, free: 115.3 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00427/2.196, allocations: 0.6741 MB / 0.8458 GB, free: 115.3 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00055/2.197, allocations: 15.09 kB / 0.8458 GB, free: 115.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/2.209, allocations: 6.202 MB / 0.8519 GB, free: 112.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/2.209, allocations: 3.25 kB / 0.8519 GB, free: 112.9 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/2.225, allocations: 6.318 MB / 0.858 GB, free: 110.8 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002843/2.228, allocations: 0.723 MB / 0.8587 GB, free: 110.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001152/2.23, allocations: 3.938 kB / 0.8587 GB, free: 110.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00345/2.233, allocations: 82.16 kB / 0.8588 GB, free: 110.6 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007324/2.234, allocations: 143.8 kB / 0.8589 GB, free: 110.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/2.234, allocations: 59.7 kB / 0.859 GB, free: 110.6 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.006294/2.24, allocations: 2.49 MB / 0.8614 GB, free: 109.7 MB / 0.4952 GB Notification: Performance of sort global known variables: time 7.22e-07/2.24, allocations: 0 / 0.8614 GB, free: 109.7 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.008428/2.249, allocations: 1.037 MB / 0.8625 GB, free: 109.7 MB / 0.4952 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.000794/2.25, allocations: 147.4 kB / 0.8626 GB, free: 109.6 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01225/2.262, allocations: 5.483 MB / 0.8679 GB, free: 107.8 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/2.262, allocations: 0 / 0.8679 GB, free: 107.8 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.004781/2.267, allocations: 1.937 MB / 0.8698 GB, free: 107 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/2.271, allocations: 453.9 kB / 0.8703 GB, free: 106.8 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/2.298, allocations: 9.887 MB / 0.8799 GB, free: 103.2 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009489/2.307, allocations: 4.124 MB / 0.884 GB, free: 101.7 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/2.309, allocations: 328.7 kB / 0.8843 GB, free: 101.7 MB / 0.4952 GB Notification: Performance of SimCode: time 1.102e-06/2.309, allocations: 0 / 0.8843 GB, free: 101.7 MB / 0.4952 GB Notification: Performance of Templates: time 0.2078/2.517, allocations: 110.2 MB / 0.9919 GB, free: 15.94 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches