Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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.001915/0.001915, allocations: 85.58 kB / 20.68 MB, free: 1.035 MB / 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.002542/0.002542, allocations: 157.4 kB / 23.95 MB, free: 4.168 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.479/1.479, allocations: 177 MB / 204.1 MB, free: 9.172 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.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0.6094 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.992e-05, allocations: 3.406 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01528/0.01531, allocations: 11.55 MB / 336.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.02599, allocations: 4.479 MB / 341 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.02831, allocations: 99.5 kB / 341.1 MB, free: 4.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008177/0.03649, allocations: 4.166 MB / 345.3 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005987/0.04248, allocations: 2.161 MB / 347.5 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.04461, allocations: 0.9043 MB / 348.4 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007383/0.052, allocations: 5.195 MB / 353.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005646/0.05764, allocations: 4.179 MB / 357.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005107/0.06275, allocations: 2.904 MB / 360.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004996/0.06775, allocations: 2.724 MB / 363.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001551/0.0693, allocations: 460 kB / 363.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.07219, allocations: 1.272 MB / 365.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00261/0.0748, allocations: 2.454 MB / 367.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003001/0.0778, allocations: 1.609 MB / 369.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.0898, allocations: 8.817 MB / 378 MB, free: 15.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.08981, allocations: 4 kB / 378 MB, free: 15.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08981, allocations: 0 / 378 MB, free: 15.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002328/0.09004, allocations: 0 / 378 MB, free: 15.92 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.03244/0.1225, allocations: 7.338 MB / 385.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/0.1225, allocations: 15.98 kB / 385.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/0.1422, allocations: 2.657 MB / 388 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008188/0.1504, allocations: 3.065 MB / 391.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.1507, allocations: 303.7 kB / 391.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.1526, allocations: 411.8 kB / 391.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03155/0.1842, allocations: 13.49 MB / 405.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002868/0.1844, allocations: 47.62 kB / 405.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001817/0.1863, allocations: 191.9 kB / 405.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005156/0.1914, allocations: 2.198 MB / 407.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03135/0.2228, allocations: 12.84 MB / 420.5 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07331/0.2961, allocations: 46.18 MB / 466.7 MB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2248/0.5209, allocations: 6.146 MB / 472.8 MB, free: 124.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004969/0.5259, allocations: 3.711 MB / 476.6 MB, free: 123.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008112/0.5267, allocations: 184.9 kB / 476.7 MB, free: 123.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.5267, allocations: 61.3 kB / 476.8 MB, free: 123.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=214): time 5.09e-06/0.5268, allocations: 3.719 kB / 476.8 MB, free: 123.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.09446/0.6212, allocations: 37.2 MB / 0.502 GB, free: 101 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.6213, allocations: 209.9 kB / 0.5022 GB, free: 100.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004145/0.6254, allocations: 4.275 MB / 0.5063 GB, free: 96.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003527/0.6258, allocations: 77.22 kB / 0.5064 GB, free: 96.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.6269, allocations: 3.559 MB / 0.5099 GB, free: 93.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007439/0.6277, allocations: 0.9878 MB / 0.5108 GB, free: 92.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/0.6294, allocations: 1.643 MB / 0.5124 GB, free: 90.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.393e-05/0.6295, allocations: 309.1 kB / 0.5127 GB, free: 90.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004389/0.6339, allocations: 4.366 MB / 0.517 GB, free: 86.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005628/0.6395, allocations: 8.298 MB / 0.5251 GB, free: 75.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/0.6516, allocations: 13.43 MB / 0.5382 GB, free: 60.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.422e-05/0.6517, allocations: 40 kB / 0.5383 GB, free: 60.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.02197/0.6736, allocations: 14.85 MB / 0.5528 GB, free: 45.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/0.6737, allocations: 63.94 kB / 0.5528 GB, free: 45.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.607e-05/0.6738, allocations: 139.9 kB / 0.553 GB, free: 45.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005925/0.6797, allocations: 2.445 MB / 0.5553 GB, free: 42.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006071/0.6858, allocations: 1.856 MB / 0.5572 GB, free: 41.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01667/0.7025, allocations: 16.47 MB / 0.5732 GB, free: 24.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006581/0.709, allocations: 0.5111 MB / 0.5737 GB, free: 23.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/0.7101, allocations: 0.5193 MB / 0.5742 GB, free: 23.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (826): * Single equations (assignments): 820 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (4,21,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00366/0.7138, allocations: 2.404 MB / 0.5766 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009595/0.7148, allocations: 389.5 kB / 0.577 GB, free: 20.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.7284, allocations: 9.688 MB / 0.5864 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/0.7284, allocations: 28 kB / 0.5865 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/0.7284, allocations: 19.94 kB / 0.5865 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.7285, allocations: 13.17 kB / 0.5865 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02667/0.7551, allocations: 16.64 MB / 0.6027 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.7551, allocations: 4 kB / 0.6027 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003327/0.7585, allocations: 0.6552 MB / 0.6034 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006975/0.7654, allocations: 2.236 MB / 0.6056 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004625/0.7659, allocations: 159.7 kB / 0.6057 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02278/0.7887, allocations: 15.14 MB / 0.6205 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7887, allocations: 7.938 kB / 0.6205 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1794/0.9681, allocations: 15.26 MB / 0.6354 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.9694, allocations: 379.3 kB / 0.6358 GB, free: 138.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/0.9705, allocations: 54.06 kB / 0.6358 GB, free: 138.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/0.974, allocations: 266.5 kB / 0.6361 GB, free: 138.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008571/0.9749, allocations: 278.1 kB / 0.6363 GB, free: 138.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003669/0.9753, allocations: 176.7 kB / 0.6365 GB, free: 138.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005132/0.9804, allocations: 2.515 MB / 0.639 GB, free: 137.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9804, allocations: 0 / 0.639 GB, free: 137.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007675/0.9881, allocations: 1.511 MB / 0.6404 GB, free: 137.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (195): * Single equations (assignments): 189 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (4,18,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007523/0.9888, allocations: 214.2 kB / 0.6406 GB, free: 137.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01236/1.001, allocations: 10.15 MB / 0.6505 GB, free: 134.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.001, allocations: 0 / 0.6505 GB, free: 134.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005713/1.007, allocations: 4.435 MB / 0.6549 GB, free: 132.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/1.01, allocations: 465.4 kB / 0.6553 GB, free: 132.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/1.029, allocations: 13.24 MB / 0.6682 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004018/1.033, allocations: 3.213 MB / 0.6714 GB, free: 120.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005201/1.038, allocations: 2.34 MB / 0.6737 GB, free: 118.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002316/1.04, allocations: 0.6287 MB / 0.6743 GB, free: 117.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.103e-06/1.04, allocations: 0 / 0.6743 GB, free: 117.7 MB / 462.1 MB Notification: Performance of Templates: time 0.1064/1.147, allocations: 74.94 MB / 0.7475 GB, free: 43.2 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/BevelGear1D/BevelGear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[2001]=0.400000 File[2502]=1.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.815159112215042]