Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.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.001524/0.001524, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 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.001174/0.001174, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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 0.9572/0.9572, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2839/0.2839, allocations: 34.86 MB / 296.3 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.818e-05, allocations: 2.312 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.0264/0.02642, allocations: 13.13 MB / 391.9 MB, free: 4.875 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.04057, allocations: 4.489 MB / 396.4 MB, free: 380 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004197/0.04476, allocations: 107.4 kB / 396.5 MB, free: 272 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008653/0.05342, allocations: 4.506 MB / 401 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.05685, allocations: 2.266 MB / 403.3 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.05806, allocations: 1.033 MB / 404.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005077/0.06313, allocations: 6.875 MB / 411.2 MB, free: 1.543 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003426/0.06656, allocations: 4.691 MB / 415.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005971/0.07253, allocations: 3.251 MB / 419.1 MB, free: 9.523 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004527/0.07706, allocations: 3.141 MB / 422.3 MB, free: 6.375 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.0784, allocations: 484 kB / 422.7 MB, free: 5.902 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.08086, allocations: 1.299 MB / 424 MB, free: 4.602 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.08322, allocations: 2.7 MB / 426.7 MB, free: 1.895 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.08589, allocations: 1.722 MB / 428.5 MB, free: 172 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007711/0.09361, allocations: 5.84 MB / 434.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.09361, allocations: 0 / 434.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09361, allocations: 0 / 434.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002705/0.09388, allocations: 0 / 434.3 MB, free: 10.3 MB / 410.7 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.01057/0.1045, allocations: 6.632 MB / 440.9 MB, free: 3.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1045, allocations: 8.031 kB / 440.9 MB, free: 3.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007423/0.1119, allocations: 3.231 MB / 444.2 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1695/0.2814, allocations: 3.36 MB / 447.5 MB, free: 71.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.2815, allocations: 301.8 kB / 447.8 MB, free: 71.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005715/0.2821, allocations: 429.6 kB / 448.2 MB, free: 71.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008152/0.2903, allocations: 7.032 MB / 455.3 MB, free: 68.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/0.2904, allocations: 49.09 kB / 455.3 MB, free: 68.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003275/0.2907, allocations: 191.1 kB / 455.5 MB, free: 68.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001748/0.2925, allocations: 2.023 MB / 457.5 MB, free: 68.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006667/0.2991, allocations: 3.749 MB / 461.3 MB, free: 68.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02486/0.324, allocations: 48.05 MB / 0.4974 GB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005207/0.3292, allocations: 2.309 MB / 0.4996 GB, free: 31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.3303, allocations: 0.7728 MB / 0.5004 GB, free: 30.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007822/0.3381, allocations: 6.245 MB / 0.5065 GB, free: 27.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.3381, allocations: 60.62 kB / 0.5066 GB, free: 27.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=171): time 3.707e-06/0.3381, allocations: 0 / 0.5066 GB, free: 27.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=197): time 0.02541/0.3636, allocations: 14.23 MB / 0.5205 GB, free: 22.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.3636, allocations: 206.5 kB / 0.5207 GB, free: 22.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.3673, allocations: 4.037 MB / 0.5246 GB, free: 19.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.863e-05/0.3673, allocations: 50.95 kB / 0.5246 GB, free: 19.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.3687, allocations: 3.874 MB / 0.5284 GB, free: 16.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000463/0.3692, allocations: 0.8141 MB / 0.5292 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.3703, allocations: 1.424 MB / 0.5306 GB, free: 14.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.3703, allocations: 486.7 kB / 0.5311 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.3714, allocations: 0.7702 MB / 0.5318 GB, free: 13.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/0.374, allocations: 6.509 MB / 0.5382 GB, free: 4.359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005479/0.3795, allocations: 7.966 MB / 0.546 GB, free: 10.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-05/0.3795, allocations: 40 kB / 0.546 GB, free: 10.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.008774/0.3883, allocations: 6.457 MB / 0.5523 GB, free: 4.652 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.497e-05/0.3884, allocations: 64 kB / 0.5524 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.3885, allocations: 136 kB / 0.5525 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/0.3911, allocations: 1.132 MB / 0.5536 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.3936, allocations: 1.478 MB / 0.555 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005819/0.3994, allocations: 6.494 MB / 0.5614 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/0.402, allocations: 423.4 kB / 0.5618 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003428/0.4023, allocations: 388 kB / 0.5622 GB, free: 10.44 MB / 442.7 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.001292/0.4036, allocations: 0.6918 MB / 0.5628 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004868/0.4041, allocations: 441.4 kB / 0.5633 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.4075, allocations: 2.219 MB / 0.5654 GB, free: 7.051 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.4076, allocations: 20 kB / 0.5654 GB, free: 7.031 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.4076, allocations: 8 kB / 0.5655 GB, free: 7.023 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.4076, allocations: 7.969 kB / 0.5655 GB, free: 7.016 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009518/0.4171, allocations: 6.445 MB / 0.5718 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.4171, allocations: 5.641 kB / 0.5718 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.4179, allocations: 295.5 kB / 0.572 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/0.4203, allocations: 0.8908 MB / 0.5729 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.913e-05/0.4204, allocations: 32 kB / 0.5729 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005352/0.4257, allocations: 5.773 MB / 0.5786 GB, free: 9.328 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4257, allocations: 0 / 0.5786 GB, free: 9.328 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00479/0.4305, allocations: 3.289 MB / 0.5818 GB, free: 6.012 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006383/0.4312, allocations: 397.4 kB / 0.5822 GB, free: 5.621 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/0.4314, allocations: 31.94 kB / 0.5822 GB, free: 5.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009233/0.4323, allocations: 175.7 kB / 0.5824 GB, free: 5.418 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.4326, allocations: 125 kB / 0.5825 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-05/0.4327, allocations: 51.98 kB / 0.5825 GB, free: 5.246 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001989/0.4346, allocations: 1.773 MB / 0.5843 GB, free: 3.465 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4346, allocations: 0 / 0.5843 GB, free: 3.465 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004031/0.4387, allocations: 1.342 MB / 0.5856 GB, free: 2.125 MB / 458.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 (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.0003963/0.4391, allocations: 172.4 kB / 0.5857 GB, free: 1.945 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005688/0.4448, allocations: 3.654 MB / 0.5893 GB, free: 14.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4448, allocations: 0 / 0.5893 GB, free: 14.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/0.4464, allocations: 1.158 MB / 0.5904 GB, free: 13.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.4484, allocations: 0.5043 MB / 0.5909 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.4614, allocations: 9.082 MB / 0.5998 GB, free: 3.418 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/0.463, allocations: 1.506 MB / 0.6013 GB, free: 1.883 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003353/0.4664, allocations: 1.685 MB / 0.6029 GB, free: 196 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1401/0.6064, allocations: 258.7 kB / 0.6032 GB, free: 135 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6064, allocations: 2.625 kB / 0.6032 GB, free: 135 MB / 474.7 MB Notification: Performance of Templates: time 0.05617/0.6626, allocations: 40.35 MB / 0.6426 GB, free: 127.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.749154484830797]