Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00177/0.00177, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002175/0.002175, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 65.08 kB / 325.5 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09789, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01525/0.1131, allocations: 11.74 MB / 390.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009965/0.1231, allocations: 4.365 MB / 395 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.1249, allocations: 111.4 kB / 395.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007895/0.1328, allocations: 4.069 MB / 399.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005523/0.1384, allocations: 2.198 MB / 401.4 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.1405, allocations: 0.9437 MB / 402.3 MB, free: 8.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008731/0.1492, allocations: 6.109 MB / 408.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005608/0.1548, allocations: 4.004 MB / 412.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.1588, allocations: 2.165 MB / 414.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004918/0.1637, allocations: 2.811 MB / 417.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.165, allocations: 472 kB / 417.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.1679, allocations: 1.241 MB / 419.1 MB, free: 7.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003006/0.1709, allocations: 2.559 MB / 421.7 MB, free: 4.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003344/0.1742, allocations: 2.136 MB / 423.8 MB, free: 2.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.185, allocations: 9.103 MB / 432.9 MB, free: 9.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.185, allocations: 0 / 432.9 MB, free: 9.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.185, allocations: 0 / 432.9 MB, free: 9.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002146/0.1852, allocations: 0 / 432.9 MB, free: 9.27 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.01308/0.1983, allocations: 6.151 MB / 439.1 MB, free: 3.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1984, allocations: 11.98 kB / 439.1 MB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.2101, allocations: 2.739 MB / 441.8 MB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008973/0.2191, allocations: 3.758 MB / 445.6 MB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.2194, allocations: 304.1 kB / 445.9 MB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001755/0.2212, allocations: 427.9 kB / 446.3 MB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.2439, allocations: 11.6 MB / 457.9 MB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/0.2441, allocations: 59.53 kB / 458 MB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005636/0.2446, allocations: 183.9 kB / 458.1 MB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003575/0.2482, allocations: 2.022 MB / 460.2 MB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02142/0.2696, allocations: 9.896 MB / 470.1 MB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2465/0.5161, allocations: 41.66 MB / 0.4997 GB, free: 49.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009999/0.5261, allocations: 3.932 MB / 0.5036 GB, free: 47.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002669/0.5288, allocations: 2.305 MB / 0.5058 GB, free: 46.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01243/0.5412, allocations: 8.79 MB / 0.5144 GB, free: 38.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.5413, allocations: 55.5 kB / 0.5145 GB, free: 38.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=171): time 4.278e-06/0.5413, allocations: 0 / 0.5145 GB, free: 38.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=197): time 0.04886/0.5901, allocations: 20.54 MB / 0.5345 GB, free: 18.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.5902, allocations: 201.2 kB / 0.5347 GB, free: 17.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/0.5945, allocations: 4.425 MB / 0.539 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003058/0.5948, allocations: 57.7 kB / 0.5391 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.5962, allocations: 3.716 MB / 0.5427 GB, free: 10.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005678/0.5968, allocations: 0.7961 MB / 0.5435 GB, free: 9.316 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.5981, allocations: 1.345 MB / 0.5448 GB, free: 7.961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.348e-05/0.5981, allocations: 301.1 kB / 0.5451 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/0.6008, allocations: 2.398 MB / 0.5474 GB, free: 5.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004992/0.6058, allocations: 6.298 MB / 0.5536 GB, free: 13.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/0.6179, allocations: 9.295 MB / 0.5627 GB, free: 1.863 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/0.618, allocations: 40 kB / 0.5627 GB, free: 1.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02102/0.639, allocations: 9.73 MB / 0.5722 GB, free: 8.078 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.6393, allocations: 64.06 kB / 0.5723 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003694/0.6396, allocations: 136.8 kB / 0.5724 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005589/0.6452, allocations: 1.612 MB / 0.574 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00526/0.6505, allocations: 1.486 MB / 0.5754 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/0.6656, allocations: 9.886 MB / 0.5851 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/0.6701, allocations: 363.4 kB / 0.5854 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.6712, allocations: 392 kB / 0.5858 GB, free: 9.957 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (793): * Single equations (assignments): 788 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004603/0.6758, allocations: 2.454 MB / 0.5882 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.6768, allocations: 385.4 kB / 0.5886 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009018/0.6858, allocations: 4.181 MB / 0.5926 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.685e-05/0.6858, allocations: 20 kB / 0.5927 GB, free: 2.891 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.6858, allocations: 11.94 kB / 0.5927 GB, free: 2.879 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.6859, allocations: 7.969 kB / 0.5927 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01931/0.7052, allocations: 8.325 MB / 0.6008 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/0.7052, allocations: 4 kB / 0.6008 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.7069, allocations: 307.5 kB / 0.6011 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004579/0.7115, allocations: 1.356 MB / 0.6024 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004134/0.7119, allocations: 35.56 kB / 0.6025 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/0.7257, allocations: 9.046 MB / 0.6113 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.7257, allocations: 7.938 kB / 0.6113 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.7384, allocations: 6.919 MB / 0.6181 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.7395, allocations: 357.3 kB / 0.6184 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007143/0.7402, allocations: 32 kB / 0.6184 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/0.742, allocations: 115.8 kB / 0.6185 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003943/0.7424, allocations: 125.1 kB / 0.6187 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.7426, allocations: 50.03 kB / 0.6187 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004684/0.7472, allocations: 2.612 MB / 0.6213 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.7472, allocations: 0 / 0.6213 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005608/0.7528, allocations: 1.176 MB / 0.6224 GB, free: 4.172 MB / 0.4981 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 (147): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004588/0.7533, allocations: 172.4 kB / 0.6226 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0111/0.7644, allocations: 5.722 MB / 0.6282 GB, free: 14.28 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7644, allocations: 0 / 0.6282 GB, free: 14.28 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.7679, allocations: 1.874 MB / 0.63 GB, free: 12.38 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/0.7714, allocations: 483.4 kB / 0.6305 GB, free: 11.91 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02196/0.7934, allocations: 11.26 MB / 0.6414 GB, free: 0.6055 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005927/0.7993, allocations: 3.297 MB / 0.6447 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005045/0.8043, allocations: 1.939 MB / 0.6466 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009896/0.8053, allocations: 256.5 kB / 0.6468 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/0.8053, allocations: 0 / 0.6468 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.2929/1.098, allocations: 37.91 MB / 0.6838 GB, free: 186.7 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.787172285956331]