Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 162.5 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 54.42 kB / 325.6 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.0921, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01491/0.107, allocations: 11.74 MB / 390.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008963/0.116, allocations: 4.361 MB / 395 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.1173, allocations: 107.4 kB / 395.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007748/0.125, allocations: 4.065 MB / 399.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004974/0.13, allocations: 2.206 MB / 401.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.1319, allocations: 0.9399 MB / 402.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009184/0.1411, allocations: 6.125 MB / 408.4 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006638/0.1477, allocations: 4.004 MB / 412.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.1515, allocations: 2.154 MB / 414.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004954/0.1565, allocations: 2.815 MB / 417.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001092/0.1576, allocations: 472 kB / 417.9 MB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.1602, allocations: 1.252 MB / 419.1 MB, free: 7.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002993/0.1632, allocations: 2.556 MB / 421.7 MB, free: 4.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002839/0.166, allocations: 2.136 MB / 423.8 MB, free: 2.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.1768, allocations: 9.103 MB / 432.9 MB, free: 9.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1768, allocations: 0 / 432.9 MB, free: 9.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1768, allocations: 0 / 432.9 MB, free: 9.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002215/0.1771, allocations: 0 / 432.9 MB, free: 9.387 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.01292/0.19, allocations: 6.155 MB / 439.1 MB, free: 3.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.19, allocations: 8.031 kB / 439.1 MB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.2024, allocations: 2.739 MB / 441.8 MB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008619/0.211, allocations: 3.742 MB / 445.6 MB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.2112, allocations: 304.1 kB / 445.9 MB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.2125, allocations: 427.9 kB / 446.3 MB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02053/0.233, allocations: 11.6 MB / 457.9 MB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/0.2331, allocations: 63.45 kB / 457.9 MB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004869/0.2336, allocations: 187.9 kB / 458.1 MB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003535/0.2372, allocations: 2.026 MB / 460.2 MB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01941/0.2566, allocations: 9.892 MB / 470 MB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2133/0.4699, allocations: 41.66 MB / 0.4997 GB, free: 49.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009321/0.4792, allocations: 3.927 MB / 0.5036 GB, free: 47.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/0.4815, allocations: 2.299 MB / 0.5058 GB, free: 46.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.4928, allocations: 8.801 MB / 0.5144 GB, free: 38.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.4929, allocations: 59.44 kB / 0.5144 GB, free: 38.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=171): time 4.308e-06/0.4929, allocations: 0 / 0.5144 GB, free: 38.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=197): time 0.04575/0.5386, allocations: 20.54 MB / 0.5345 GB, free: 18.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.5387, allocations: 201.2 kB / 0.5347 GB, free: 18.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/0.5427, allocations: 4.43 MB / 0.539 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.5428, allocations: 57.7 kB / 0.5391 GB, free: 13.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.5441, allocations: 3.71 MB / 0.5427 GB, free: 10.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.5446, allocations: 0.8026 MB / 0.5435 GB, free: 9.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/0.5458, allocations: 1.338 MB / 0.5448 GB, free: 8.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.241e-05/0.5458, allocations: 301.1 kB / 0.5451 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/0.5484, allocations: 2.402 MB / 0.5474 GB, free: 5.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004732/0.5532, allocations: 6.298 MB / 0.5536 GB, free: 13.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.5649, allocations: 9.29 MB / 0.5626 GB, free: 2.164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.573e-05/0.565, allocations: 43.94 kB / 0.5627 GB, free: 2.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01944/0.5844, allocations: 9.73 MB / 0.5722 GB, free: 8.383 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.5845, allocations: 64 kB / 0.5723 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/0.5847, allocations: 132 kB / 0.5724 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004657/0.5893, allocations: 1.62 MB / 0.574 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004742/0.5941, allocations: 1.474 MB / 0.5754 GB, free: 5.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/0.6085, allocations: 9.897 MB / 0.5851 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004388/0.6129, allocations: 367.4 kB / 0.5854 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006623/0.6135, allocations: 390.5 kB / 0.5858 GB, free: 10.26 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.003913/0.6174, allocations: 2.454 MB / 0.5882 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007054/0.6181, allocations: 393.4 kB / 0.5886 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008545/0.6267, allocations: 4.177 MB / 0.5926 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/0.6267, allocations: 20 kB / 0.5927 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.6267, allocations: 11.94 kB / 0.5927 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.6267, allocations: 7.969 kB / 0.5927 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.6431, allocations: 8.322 MB / 0.6008 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.6432, allocations: 4 kB / 0.6008 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.6447, allocations: 295.5 kB / 0.6011 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004314/0.649, allocations: 1.372 MB / 0.6024 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.6492, allocations: 31.98 kB / 0.6025 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/0.6626, allocations: 9.041 MB / 0.6113 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6626, allocations: 7.969 kB / 0.6113 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/0.675, allocations: 6.928 MB / 0.6181 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009729/0.6759, allocations: 345.3 kB / 0.6184 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003805/0.6763, allocations: 32 kB / 0.6184 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.6778, allocations: 111.8 kB / 0.6185 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/0.6782, allocations: 132.9 kB / 0.6187 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.6784, allocations: 55.98 kB / 0.6187 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00402/0.6824, allocations: 2.608 MB / 0.6213 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6824, allocations: 0 / 0.6213 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004945/0.6873, allocations: 1.179 MB / 0.6224 GB, free: 4.457 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.0003732/0.6877, allocations: 159 kB / 0.6226 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00954/0.6972, allocations: 5.722 MB / 0.6281 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6972, allocations: 192 / 0.6281 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/0.7005, allocations: 1.893 MB / 0.63 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.703, allocations: 473.5 kB / 0.6304 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/0.7218, allocations: 11.26 MB / 0.6414 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004635/0.7265, allocations: 3.304 MB / 0.6447 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004513/0.731, allocations: 1.935 MB / 0.6466 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/0.7317, allocations: 252.5 kB / 0.6468 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of SimCode: time 1.472e-06/0.7317, allocations: 0 / 0.6468 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of Templates: time 0.2527/0.9843, allocations: 37.91 MB / 0.6838 GB, free: 186.9 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.589064545929432]