Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.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) 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 175.6 kB / 16.72 MB, free: 5.082 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.381/1.381, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0008044/0.0008042, allocations: 86.41 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003328, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2434, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.04395/0.2875, allocations: 63.68 MB / 438.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02997/0.3175, allocations: 13.4 MB / 452.2 MB, free: 3.441 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01231/0.3299, allocations: 307.2 kB / 452.5 MB, free: 3.141 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.3404, allocations: 3.313 MB / 455.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02714/0.3676, allocations: 9.743 MB / 465.5 MB, free: 6.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005279/0.3729, allocations: 0.866 MB / 466.4 MB, free: 5.168 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.04535/0.4183, allocations: 35.01 MB / 0.4896 GB, free: 2.109 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2038/0.6222, allocations: 7.129 MB / 0.4966 GB, free: 33.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.6255, allocations: 1.715 MB / 0.4983 GB, free: 33.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004016/0.6296, allocations: 2.648 MB / 0.5009 GB, free: 33.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009386/0.6306, allocations: 190.6 kB / 0.501 GB, free: 33.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.6335, allocations: 1.126 MB / 0.5021 GB, free: 33.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003/0.6365, allocations: 2.256 MB / 0.5044 GB, free: 33.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005497/0.642, allocations: 2.473 MB / 0.5068 GB, free: 33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009791/0.6518, allocations: 7.422 MB / 0.514 GB, free: 32.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.6519, allocations: 0 / 0.514 GB, free: 32.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.6519, allocations: 0 / 0.514 GB, free: 32.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003763/0.6523, allocations: 1.641 kB / 0.514 GB, free: 32.52 MB / 378.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.01411/0.6664, allocations: 5.197 MB / 0.5191 GB, free: 29.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.6665, allocations: 10.09 kB / 0.5191 GB, free: 29.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.6779, allocations: 2.669 MB / 0.5217 GB, free: 28.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0081/0.686, allocations: 3.969 MB / 0.5256 GB, free: 26.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.6863, allocations: 314.6 kB / 0.5259 GB, free: 26.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.688, allocations: 449.6 kB / 0.5263 GB, free: 26.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02141/0.7094, allocations: 12.23 MB / 0.5383 GB, free: 20.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.7096, allocations: 52.89 kB / 0.5383 GB, free: 20.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005299/0.7102, allocations: 197.4 kB / 0.5385 GB, free: 20.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00299/0.7132, allocations: 2.201 MB / 0.5406 GB, free: 18.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.7326, allocations: 10.51 MB / 0.5509 GB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06534/0.798, allocations: 47.61 MB / 0.5974 GB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.809, allocations: 4.583 MB / 0.6019 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003808/0.8128, allocations: 2.639 MB / 0.6045 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01773/0.8306, allocations: 10.43 MB / 0.6146 GB, free: 4.195 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.8307, allocations: 51.88 kB / 0.6147 GB, free: 4.137 MB / 426.7 MB Notification: Performance of pre-optimization done (n=192): time 5.19e-06/0.8307, allocations: 0 / 0.6147 GB, free: 4.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.0567/0.8874, allocations: 20.99 MB / 0.6352 GB, free: 15.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.8875, allocations: 205.2 kB / 0.6354 GB, free: 14.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009032/0.8966, allocations: 4.798 MB / 0.6401 GB, free: 10.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003808/0.897, allocations: 57.7 kB / 0.6401 GB, free: 10.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002861/0.8999, allocations: 3.724 MB / 0.6438 GB, free: 6.312 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.9009, allocations: 0.8317 MB / 0.6446 GB, free: 5.484 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006189/0.9015, allocations: 139.7 kB / 0.6447 GB, free: 5.352 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005492/0.9021, allocations: 0.5969 MB / 0.6453 GB, free: 4.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004476/0.9066, allocations: 2.563 MB / 0.6478 GB, free: 2.184 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007024/0.9136, allocations: 6.527 MB / 0.6542 GB, free: 9.762 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1923/1.106, allocations: 9.789 MB / 0.6637 GB, free: 184.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001367/1.106, allocations: 42.84 kB / 0.6638 GB, free: 184.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02203/1.128, allocations: 10.21 MB / 0.6737 GB, free: 182.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/1.128, allocations: 65.09 kB / 0.6738 GB, free: 182.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/1.128, allocations: 136.2 kB / 0.6739 GB, free: 182.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004005/1.132, allocations: 1.616 MB / 0.6755 GB, free: 181.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004678/1.137, allocations: 1.57 MB / 0.677 GB, free: 181.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/1.148, allocations: 9.552 MB / 0.6864 GB, free: 176.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005109/1.153, allocations: 387.8 kB / 0.6867 GB, free: 176.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/1.154, allocations: 408.2 kB / 0.6871 GB, free: 176.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (834): * Single equations (assignments): 829 * 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 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004655/1.158, allocations: 2.584 MB / 0.6897 GB, free: 175.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007553/1.159, allocations: 417.8 kB / 0.6901 GB, free: 175.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008071/1.167, allocations: 4.618 MB / 0.6946 GB, free: 172 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.691e-05/1.167, allocations: 25.56 kB / 0.6946 GB, free: 172 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/1.167, allocations: 8 kB / 0.6946 GB, free: 172 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-05/1.167, allocations: 19.31 kB / 0.6946 GB, free: 172 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/1.185, allocations: 10.48 MB / 0.7049 GB, free: 163.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/1.185, allocations: 8 kB / 0.7049 GB, free: 163.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/1.187, allocations: 356 kB / 0.7052 GB, free: 163.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003643/1.191, allocations: 1.36 MB / 0.7065 GB, free: 162 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003068/1.191, allocations: 36.92 kB / 0.7066 GB, free: 161.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009049/1.2, allocations: 8.731 MB / 0.7151 GB, free: 153 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.2, allocations: 4 kB / 0.7151 GB, free: 153 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.211, allocations: 7.566 MB / 0.7225 GB, free: 145.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/1.213, allocations: 0.7845 MB / 0.7232 GB, free: 144.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007529/1.213, allocations: 36 kB / 0.7233 GB, free: 144.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/1.215, allocations: 127.8 kB / 0.7234 GB, free: 144.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003993/1.216, allocations: 141 kB / 0.7235 GB, free: 144.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/1.216, allocations: 56.45 kB / 0.7236 GB, free: 144.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005148/1.221, allocations: 3.013 MB / 0.7265 GB, free: 141.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.221, allocations: 0 / 0.7265 GB, free: 141.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00631/1.227, allocations: 1.268 MB / 0.7278 GB, free: 140.1 MB / 474.7 MB 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.000467/1.228, allocations: 166.8 kB / 0.7279 GB, free: 139.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008528/1.236, allocations: 6.363 MB / 0.7341 GB, free: 133.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.236, allocations: 0 / 0.7341 GB, free: 133.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002796/1.239, allocations: 2.209 MB / 0.7363 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/1.243, allocations: 0.5032 MB / 0.7368 GB, free: 130.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/1.263, allocations: 14.37 MB / 0.7508 GB, free: 116.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004126/1.267, allocations: 3.98 MB / 0.7547 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.269, allocations: 335.4 kB / 0.755 GB, free: 112.2 MB / 474.7 MB Notification: Performance of SimCode: time 9.22e-07/1.269, allocations: 0 / 0.755 GB, free: 112.2 MB / 474.7 MB Notification: Performance of Templates: time 0.3232/1.592, allocations: 117.3 MB / 0.8696 GB, free: 173.9 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches