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.001489/0.001489, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001146/0.001146, allocations: 100 kB / 270.9 MB, free: 8.387 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.5406/0.5406, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004777, allocations: 19.98 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 58.84 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4964/0.6245, allocations: 108.8 MB / 0.585 GB, free: 9.742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.6249, allocations: 83.95 kB / 0.5851 GB, free: 9.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7836/1.408, allocations: 107.2 MB / 0.6898 GB, free: 85.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.409, allocations: 0 / 0.6898 GB, free: 85.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000368/1.409, allocations: 115 kB / 0.6899 GB, free: 85.6 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.02263/1.432, allocations: 5.737 MB / 0.6955 GB, free: 83.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.432, allocations: 8.844 kB / 0.6955 GB, free: 83.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05076/1.482, allocations: 6.93 MB / 0.7023 GB, free: 82.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02491/1.507, allocations: 6.93 MB / 0.709 GB, free: 82.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005521/1.508, allocations: 409.9 kB / 0.7094 GB, free: 82.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003164/1.511, allocations: 0.537 MB / 0.71 GB, free: 82.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04179/1.553, allocations: 12.79 MB / 0.7225 GB, free: 78.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005526/1.554, allocations: 77.95 kB / 0.7225 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00283/1.556, allocations: 260.5 kB / 0.7228 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002876/1.559, allocations: 1.128 MB / 0.7239 GB, free: 78.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03245/1.592, allocations: 10.48 MB / 0.7341 GB, free: 76.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.085/1.677, allocations: 57.2 MB / 0.79 GB, free: 33.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01818/1.695, allocations: 4.416 MB / 0.7943 GB, free: 31.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02438/1.72, allocations: 9.97 MB / 0.804 GB, free: 26.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/1.72, allocations: 58.72 kB / 0.8041 GB, free: 26.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=192): time 7.324e-06/1.72, allocations: 0 / 0.8041 GB, free: 26.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=218): time 0.08278/1.803, allocations: 18.98 MB / 0.8226 GB, free: 14.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/1.803, allocations: 205.2 kB / 0.8228 GB, free: 14.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009884/1.813, allocations: 4.251 MB / 0.827 GB, free: 11.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000525/1.813, allocations: 57.7 kB / 0.827 GB, free: 11.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003079/1.816, allocations: 3.64 MB / 0.8306 GB, free: 7.777 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001335/1.818, allocations: 0.8248 MB / 0.8314 GB, free: 7.051 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009218/1.819, allocations: 131.8 kB / 0.8315 GB, free: 6.926 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005851/1.819, allocations: 0.5908 MB / 0.8321 GB, free: 6.402 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005819/1.825, allocations: 2.258 MB / 0.8343 GB, free: 4.504 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008973/1.834, allocations: 6.214 MB / 0.8404 GB, free: 12.79 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009422/1.844, allocations: 3.683 MB / 0.844 GB, free: 9.473 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/1.844, allocations: 40 kB / 0.844 GB, free: 9.434 MB / 0.4949 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02668/1.87, allocations: 8.79 MB / 0.8526 GB, free: 1.738 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/1.871, allocations: 64 kB / 0.8526 GB, free: 1.676 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002613/1.871, allocations: 143.9 kB / 0.8528 GB, free: 1.535 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004745/1.876, allocations: 0.9466 MB / 0.8537 GB, free: 0.6367 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0162/1.892, allocations: 1.505 MB / 0.8552 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02438/1.916, allocations: 7.618 MB / 0.8626 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009535/1.926, allocations: 359.4 kB / 0.8629 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003383/1.929, allocations: 400 kB / 0.8633 GB, free: 6.516 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.01385/1.943, allocations: 2.568 MB / 0.8658 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003036/1.946, allocations: 438.5 kB / 0.8663 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3834/2.33, allocations: 3.599 MB / 0.8698 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.494e-05/2.33, allocations: 24.16 kB / 0.8698 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/2.33, allocations: 6.906 kB / 0.8698 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.039e-05/2.33, allocations: 14.14 kB / 0.8698 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03229/2.362, allocations: 9.312 MB / 0.8789 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.876e-05/2.362, allocations: 3.5 kB / 0.8789 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003425/2.366, allocations: 343.6 kB / 0.8792 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004163/2.37, allocations: 0.69 MB / 0.8799 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004614/2.371, allocations: 37.23 kB / 0.8799 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/2.385, allocations: 6.743 MB / 0.8865 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/2.385, allocations: 3.953 kB / 0.8865 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0233/2.408, allocations: 6.368 MB / 0.8928 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00393/2.412, allocations: 0.7399 MB / 0.8935 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001861/2.414, allocations: 35.27 kB / 0.8935 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005163/2.42, allocations: 110 kB / 0.8936 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/2.421, allocations: 132.7 kB / 0.8937 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003251/2.421, allocations: 57.28 kB / 0.8938 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01143/2.432, allocations: 3.012 MB / 0.8967 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.975e-06/2.433, allocations: 0 / 0.8967 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01356/2.446, allocations: 1.202 MB / 0.8979 GB, free: 101.1 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.001276/2.447, allocations: 167.8 kB / 0.8981 GB, free: 101 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01877/2.466, allocations: 5.761 MB / 0.9037 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/2.466, allocations: 2.359 kB / 0.9037 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006176/2.472, allocations: 2.008 MB / 0.9057 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004852/2.477, allocations: 0.5271 MB / 0.9062 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03674/2.514, allocations: 14.04 MB / 0.9199 GB, free: 93.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/2.524, allocations: 4.116 MB / 0.9239 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001958/2.526, allocations: 337.7 kB / 0.9242 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/2.526, allocations: 0 / 0.9242 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.1977/2.724, allocations: 112.2 MB / 1.034 GB, free: 24.44 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