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.002249/0.002248, allocations: 181.6 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.012/3.012, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 97.92 kB / 271.9 MB, free: 8.25 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.6943/0.6943, allocations: 43.56 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006299/0.00063, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2298, allocations: 58.86 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6414/0.8713, allocations: 109 MB / 0.5864 GB, free: 9.398 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004751/0.8719, allocations: 87.94 kB / 0.5864 GB, free: 9.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8188/1.691, allocations: 105.6 MB / 0.6896 GB, free: 85.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.967e-06/1.691, allocations: 0 / 0.6896 GB, free: 85.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007107/1.692, allocations: 107.6 kB / 0.6897 GB, free: 85.17 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: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.03053/1.722, allocations: 5.561 MB / 0.6951 GB, free: 82.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.326e-05/1.722, allocations: 10.12 kB / 0.6951 GB, free: 82.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04025/1.762, allocations: 5.288 MB / 0.7003 GB, free: 82.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02436/1.787, allocations: 5.771 MB / 0.7059 GB, free: 81.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007588/1.788, allocations: 401.7 kB / 0.7063 GB, free: 81.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00391/1.792, allocations: 0.5427 MB / 0.7069 GB, free: 81.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05219/1.844, allocations: 12.68 MB / 0.7192 GB, free: 78.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007551/1.845, allocations: 75.39 kB / 0.7193 GB, free: 78.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003668/1.848, allocations: 265.7 kB / 0.7196 GB, free: 78.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004001/1.852, allocations: 1.127 MB / 0.7207 GB, free: 78.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03892/1.891, allocations: 10.33 MB / 0.7307 GB, free: 77.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09814/1.99, allocations: 57.14 MB / 0.7866 GB, free: 33.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/2.007, allocations: 4.411 MB / 0.7909 GB, free: 32.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005313/2.012, allocations: 2.431 MB / 0.7932 GB, free: 31.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02857/2.041, allocations: 9.895 MB / 0.8029 GB, free: 26.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/2.041, allocations: 55.81 kB / 0.8029 GB, free: 26.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=192): time 1.127e-05/2.041, allocations: 0 / 0.8029 GB, free: 26.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=218): time 0.09519/2.136, allocations: 18.7 MB / 0.8212 GB, free: 15.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/2.136, allocations: 205.2 kB / 0.8214 GB, free: 15.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01804/2.154, allocations: 4.788 MB / 0.8261 GB, free: 11.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007093/2.155, allocations: 58.48 kB / 0.8261 GB, free: 11.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004134/2.159, allocations: 3.777 MB / 0.8298 GB, free: 8.176 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001555/2.161, allocations: 0.8359 MB / 0.8306 GB, free: 7.438 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007945/2.162, allocations: 128 kB / 0.8308 GB, free: 7.312 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004927/2.162, allocations: 0.5824 MB / 0.8313 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005419/2.168, allocations: 2.264 MB / 0.8335 GB, free: 4.895 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/2.178, allocations: 6.235 MB / 0.8396 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02047/2.198, allocations: 9.268 MB / 0.8487 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000261/2.199, allocations: 40 kB / 0.8487 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.03431/2.233, allocations: 8.965 MB / 0.8575 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/2.233, allocations: 68 kB / 0.8575 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003929/2.234, allocations: 147.4 kB / 0.8577 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004383/2.238, allocations: 0.9198 MB / 0.8586 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009141/2.247, allocations: 1.513 MB / 0.8601 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/2.264, allocations: 7.447 MB / 0.8673 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/2.275, allocations: 355.5 kB / 0.8677 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002534/2.278, allocations: 396 kB / 0.868 GB, free: 0.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 638 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (798): * Single equations (assignments): 793 * 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.49/2.768, allocations: 2.569 MB / 0.8706 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002191/2.77, allocations: 430.9 kB / 0.871 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/2.786, allocations: 3.613 MB / 0.8745 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/2.786, allocations: 28.06 kB / 0.8745 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-05/2.786, allocations: 6.75 kB / 0.8745 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-05/2.786, allocations: 8.875 kB / 0.8745 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03365/2.82, allocations: 9.321 MB / 0.8836 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/2.82, allocations: 0 / 0.8836 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/2.822, allocations: 342.3 kB / 0.884 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/2.825, allocations: 0.6915 MB / 0.8846 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004347/2.825, allocations: 41.81 kB / 0.8847 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/2.836, allocations: 6.565 MB / 0.8911 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/2.836, allocations: 3 kB / 0.8911 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/2.849, allocations: 6.251 MB / 0.8972 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/2.851, allocations: 0.7403 MB / 0.8979 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008909/2.852, allocations: 39.09 kB / 0.898 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/2.855, allocations: 115.7 kB / 0.8981 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006285/2.855, allocations: 129.5 kB / 0.8982 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002675/2.855, allocations: 55.83 kB / 0.8982 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01053/2.866, allocations: 3.014 MB / 0.9012 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.863e-06/2.866, allocations: 2.906 kB / 0.9012 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01333/2.879, allocations: 1.193 MB / 0.9024 GB, free: 101.3 MB / 0.5105 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 (169): * Single equations (assignments): 164 * 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.001255/2.881, allocations: 173.3 kB / 0.9025 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01911/2.9, allocations: 5.759 MB / 0.9081 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/2.9, allocations: 0 / 0.9081 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006055/2.906, allocations: 2.002 MB / 0.9101 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008884/2.915, allocations: 0.5546 MB / 0.9106 GB, free: 98.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04513/2.96, allocations: 14.09 MB / 0.9244 GB, free: 91.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01346/2.974, allocations: 4.005 MB / 0.9283 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002114/2.976, allocations: 332.1 kB / 0.9286 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/2.976, allocations: 0 / 0.9286 GB, free: 90.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.2869/3.263, allocations: 116.9 MB / 1.043 GB, free: 13.88 MB / 0.5105 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