Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001082/0.001082, allocations: 183.6 kB / 15.76 MB, free: 6.367 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.52/1.52, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008977/0.0008979, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2197/0.2197, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003122, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 58.87 MB / 490.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4719, allocations: 108.8 MB / 0.585 GB, free: 7.273 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.4722, allocations: 83.39 kB / 0.5851 GB, free: 7.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2762/0.7485, allocations: 107.2 MB / 0.6898 GB, free: 3.754 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.7485, allocations: 0 / 0.6898 GB, free: 3.754 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003924/0.7489, allocations: 108 kB / 0.6899 GB, free: 3.648 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.02172/0.7707, allocations: 5.736 MB / 0.6955 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.7707, allocations: 8.031 kB / 0.6955 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02812/0.7988, allocations: 6.939 MB / 0.7023 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2913/1.09, allocations: 6.913 MB / 0.7091 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005963/1.091, allocations: 407.5 kB / 0.7095 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002952/1.094, allocations: 0.5359 MB / 0.71 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03536/1.129, allocations: 12.79 MB / 0.7225 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006661/1.13, allocations: 77.23 kB / 0.7225 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003221/1.133, allocations: 262 kB / 0.7228 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002619/1.136, allocations: 1.13 MB / 0.7239 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02321/1.159, allocations: 10.48 MB / 0.7341 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07518/1.234, allocations: 57.21 MB / 0.79 GB, free: 66.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.245, allocations: 4.406 MB / 0.7943 GB, free: 64.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01836/1.263, allocations: 9.98 MB / 0.804 GB, free: 59.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/1.263, allocations: 54.91 kB / 0.8041 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=192): time 7.363e-06/1.263, allocations: 0 / 0.8041 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=218): time 0.0679/1.331, allocations: 18.98 MB / 0.8226 GB, free: 52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.332, allocations: 210.4 kB / 0.8228 GB, free: 51.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006667/1.338, allocations: 4.252 MB / 0.827 GB, free: 50.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005051/1.339, allocations: 56.77 kB / 0.827 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002173/1.341, allocations: 3.78 MB / 0.8307 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.342, allocations: 0.8249 MB / 0.8315 GB, free: 46.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/1.342, allocations: 135.9 kB / 0.8317 GB, free: 46.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002988/1.343, allocations: 0.5814 MB / 0.8322 GB, free: 46.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003328/1.346, allocations: 2.265 MB / 0.8345 GB, free: 45.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004527/1.351, allocations: 6.212 MB / 0.8405 GB, free: 37.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004549/1.355, allocations: 3.68 MB / 0.8441 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.372e-05/1.355, allocations: 40 kB / 0.8441 GB, free: 34.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01514/1.37, allocations: 8.961 MB / 0.8529 GB, free: 26.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002051/1.371, allocations: 64 kB / 0.853 GB, free: 26.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003367/1.371, allocations: 140 kB / 0.8531 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/1.374, allocations: 0.946 MB / 0.854 GB, free: 25.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005673/1.38, allocations: 1.513 MB / 0.8555 GB, free: 24.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009057/1.389, allocations: 7.61 MB / 0.8629 GB, free: 17.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006997/1.396, allocations: 362.7 kB / 0.8633 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001961/1.398, allocations: 401.1 kB / 0.8637 GB, free: 16.55 MB / 0.4948 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.008274/1.406, allocations: 2.575 MB / 0.8662 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001839/1.408, allocations: 430.4 kB / 0.8666 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/1.419, allocations: 3.611 MB / 0.8701 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.228e-05/1.419, allocations: 24 kB / 0.8701 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.162e-05/1.419, allocations: 8 kB / 0.8701 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.16e-05/1.419, allocations: 10.64 kB / 0.8701 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02467/1.444, allocations: 9.313 MB / 0.8792 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/1.444, allocations: 8.031 kB / 0.8793 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.446, allocations: 345 kB / 0.8796 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002356/1.448, allocations: 0.6863 MB / 0.8802 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004428/1.449, allocations: 39.84 kB / 0.8803 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008697/1.457, allocations: 6.733 MB / 0.8869 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.457, allocations: 0 / 0.8869 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.469, allocations: 6.39 MB / 0.8931 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003048/1.472, allocations: 0.7352 MB / 0.8938 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001361/1.474, allocations: 40 kB / 0.8939 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.476, allocations: 118.3 kB / 0.894 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004574/1.477, allocations: 123.3 kB / 0.8941 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/1.477, allocations: 63.64 kB / 0.8941 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007851/1.485, allocations: 3.011 MB / 0.8971 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/1.485, allocations: 0 / 0.8971 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008664/1.494, allocations: 1.187 MB / 0.8982 GB, free: 1.609 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.000883/1.495, allocations: 175.2 kB / 0.8984 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2456/1.74, allocations: 5.763 MB / 0.904 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.74, allocations: 0 / 0.904 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003674/1.744, allocations: 2 MB / 0.906 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/1.747, allocations: 0.5191 MB / 0.9065 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/1.771, allocations: 13.43 MB / 0.9196 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007391/1.779, allocations: 4.119 MB / 0.9236 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00639/1.785, allocations: 2.102 MB / 0.9257 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.786, allocations: 284.4 kB / 0.926 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/1.786, allocations: 0 / 0.926 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.07256/1.859, allocations: 41.13 MB / 0.9661 GB, free: 104.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches