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.001334/0.001334, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001813/0.001813, allocations: 157.3 kB / 24.99 MB, free: 8.797 MB / 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 1.095/1.095, allocations: 177 MB / 205.2 MB, free: 5.562 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.2693/0.2693, allocations: 34.87 MB / 296.6 MB, free: 0.5586 MB / 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.663e-06/1.663e-06, allocations: 0 / 378.7 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.329e-05, allocations: 2.312 kB / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01117/0.01121, allocations: 13.1 MB / 391.8 MB, free: 5.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.02196, allocations: 4.478 MB / 396.3 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003092/0.02506, allocations: 107.4 kB / 396.4 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007058/0.03211, allocations: 4.498 MB / 400.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005844/0.03796, allocations: 2.255 MB / 403.2 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.04034, allocations: 1.037 MB / 404.2 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008553/0.0489, allocations: 6.878 MB / 411.1 MB, free: 1.945 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006142/0.05504, allocations: 4.688 MB / 415.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005016/0.06006, allocations: 3.259 MB / 419 MB, free: 9.922 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.06367, allocations: 3.141 MB / 422.2 MB, free: 6.773 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006624/0.06433, allocations: 480 kB / 422.7 MB, free: 6.305 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.06636, allocations: 1.295 MB / 424 MB, free: 5.008 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002413/0.06877, allocations: 2.704 MB / 426.7 MB, free: 2.297 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002097/0.07087, allocations: 1.722 MB / 428.4 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007405/0.07827, allocations: 5.836 MB / 434.2 MB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.07828, allocations: 0 / 434.2 MB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.07828, allocations: 0 / 434.2 MB, free: 10.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001518/0.07843, allocations: 0 / 434.2 MB, free: 10.71 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.01051/0.08895, allocations: 6.632 MB / 440.8 MB, free: 4.012 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.08899, allocations: 8.031 kB / 440.9 MB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007302/0.09629, allocations: 3.231 MB / 444.1 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1772/0.2735, allocations: 3.367 MB / 447.5 MB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.2737, allocations: 301.3 kB / 447.7 MB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009488/0.2746, allocations: 432.1 kB / 448.2 MB, free: 98.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.2851, allocations: 7.026 MB / 455.2 MB, free: 94.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001801/0.2853, allocations: 49.05 kB / 455.2 MB, free: 94.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004467/0.2857, allocations: 191.7 kB / 455.4 MB, free: 94.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001887/0.2876, allocations: 2.027 MB / 457.5 MB, free: 93.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009551/0.2972, allocations: 3.749 MB / 461.2 MB, free: 93.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04126/0.3384, allocations: 48.05 MB / 0.4973 GB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006212/0.3447, allocations: 2.297 MB / 0.4996 GB, free: 54.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.346, allocations: 0.7741 MB / 0.5003 GB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009076/0.3551, allocations: 6.246 MB / 0.5064 GB, free: 50.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.3552, allocations: 54.84 kB / 0.5065 GB, free: 50.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=171): time 4.128e-06/0.3552, allocations: 0 / 0.5065 GB, free: 50.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=197): time 0.03112/0.3863, allocations: 14.24 MB / 0.5204 GB, free: 40.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.3863, allocations: 201.2 kB / 0.5206 GB, free: 40.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004312/0.3907, allocations: 4.04 MB / 0.5245 GB, free: 35.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.3909, allocations: 53.7 kB / 0.5246 GB, free: 35.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.3924, allocations: 3.87 MB / 0.5284 GB, free: 32.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007167/0.3931, allocations: 0.8143 MB / 0.5291 GB, free: 31.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.3943, allocations: 1.428 MB / 0.5305 GB, free: 29.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.3943, allocations: 484.7 kB / 0.531 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.3956, allocations: 0.7741 MB / 0.5318 GB, free: 28.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/0.3983, allocations: 6.508 MB / 0.5381 GB, free: 19.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006613/0.4049, allocations: 7.963 MB / 0.5459 GB, free: 8.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001899/0.4051, allocations: 40 kB / 0.5459 GB, free: 8.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01517/0.4203, allocations: 6.447 MB / 0.5522 GB, free: 2.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.4204, allocations: 64 kB / 0.5523 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/0.4207, allocations: 132 kB / 0.5524 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/0.4239, allocations: 1.129 MB / 0.5535 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003772/0.4276, allocations: 1.482 MB / 0.555 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008165/0.4358, allocations: 6.501 MB / 0.5613 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/0.4407, allocations: 415.4 kB / 0.5617 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/0.4418, allocations: 396 kB / 0.5621 GB, free: 7.969 MB / 426.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.002811/0.4447, allocations: 0.6931 MB / 0.5628 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/0.4459, allocations: 445.3 kB / 0.5632 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/0.4505, allocations: 2.207 MB / 0.5653 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.426e-05/0.4506, allocations: 24 kB / 0.5654 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.4506, allocations: 11.94 kB / 0.5654 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/0.4506, allocations: 7.969 kB / 0.5654 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.4668, allocations: 6.438 MB / 0.5717 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/0.4668, allocations: 0 / 0.5717 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.468, allocations: 303.5 kB / 0.572 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/0.4711, allocations: 0.8853 MB / 0.5728 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002271/0.4713, allocations: 35.98 kB / 0.5729 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006989/0.4783, allocations: 5.772 MB / 0.5785 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4783, allocations: 0 / 0.5785 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007156/0.4854, allocations: 3.283 MB / 0.5817 GB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/0.4872, allocations: 397.2 kB / 0.5821 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007525/0.4879, allocations: 39.98 kB / 0.5821 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.4894, allocations: 171.7 kB / 0.5823 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004683/0.4899, allocations: 129 kB / 0.5824 GB, free: 2.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.49, allocations: 48 kB / 0.5824 GB, free: 2.727 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003943/0.4939, allocations: 1.777 MB / 0.5842 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4939, allocations: 0 / 0.5842 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006982/0.5009, allocations: 1.336 MB / 0.5855 GB, free: 15.6 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.0007084/0.5016, allocations: 178.9 kB / 0.5857 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008961/0.5106, allocations: 3.651 MB / 0.5892 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.5106, allocations: 128 / 0.5892 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002274/0.5129, allocations: 1.171 MB / 0.5904 GB, free: 10.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/0.517, allocations: 0.4934 MB / 0.5909 GB, free: 10.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/0.5373, allocations: 9.079 MB / 0.5997 GB, free: 0.875 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1914/0.7288, allocations: 1.506 MB / 0.6012 GB, free: 127.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003949/0.7327, allocations: 1.689 MB / 0.6028 GB, free: 127 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.7337, allocations: 258.8 kB / 0.6031 GB, free: 127 MB / 458.7 MB Notification: Performance of SimCode: time 4.839e-06/0.7337, allocations: 3.938 kB / 0.6031 GB, free: 127 MB / 458.7 MB Notification: Performance of Templates: time 0.07192/0.8057, allocations: 40.35 MB / 0.6425 GB, free: 116.8 MB / 458.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: 5.071796856122091]