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.001261/0.001261, allocations: 91.67 kB / 21.2 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.001046/0.001046, allocations: 160.5 kB / 24.56 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.9499/0.9499, allocations: 177 MB / 204.9 MB, free: 5.531 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.2657/0.2657, allocations: 34.86 MB / 296.3 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 2.034e-06/2.034e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.624e-05/3.827e-05, allocations: 3.438 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.0151/0.01513, allocations: 13.15 MB / 391.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008934/0.02407, allocations: 4.481 MB / 396.4 MB, free: 396 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.02541, allocations: 107.4 kB / 396.5 MB, free: 288 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006084/0.0315, allocations: 4.509 MB / 401 MB, free: 11.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004343/0.03584, allocations: 2.263 MB / 403.3 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.03757, allocations: 1.045 MB / 404.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01023/0.04781, allocations: 6.866 MB / 411.2 MB, free: 1.559 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004555/0.05236, allocations: 4.695 MB / 415.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004842/0.0572, allocations: 4.219 MB / 420.1 MB, free: 8.566 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.06071, allocations: 3.114 MB / 423.2 MB, free: 5.445 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006488/0.06136, allocations: 484 kB / 423.7 MB, free: 4.973 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.06336, allocations: 1.303 MB / 425 MB, free: 3.668 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002209/0.06557, allocations: 2.712 MB / 427.7 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.06746, allocations: 1.714 MB / 429.4 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00601/0.07347, allocations: 5.851 MB / 435.3 MB, free: 9.359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.07348, allocations: 0 / 435.3 MB, free: 9.359 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.07348, allocations: 0 / 435.3 MB, free: 9.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001369/0.07362, allocations: 4 kB / 435.3 MB, free: 9.355 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.007813/0.08143, allocations: 6.683 MB / 442 MB, free: 2.602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.08147, allocations: 8.031 kB / 442 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1623/0.2437, allocations: 3.142 MB / 445.1 MB, free: 92.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004863/0.2486, allocations: 3.225 MB / 448.3 MB, free: 92.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.2487, allocations: 301.8 kB / 448.6 MB, free: 92.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005339/0.2493, allocations: 426.6 kB / 449 MB, free: 92.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008125/0.2574, allocations: 7.025 MB / 456.1 MB, free: 89.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.2575, allocations: 57.67 kB / 456.1 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003204/0.2578, allocations: 187.4 kB / 456.3 MB, free: 89.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001403/0.2592, allocations: 1.919 MB / 458.2 MB, free: 88.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006473/0.2657, allocations: 3.57 MB / 461.8 MB, free: 88.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02741/0.2931, allocations: 48.2 MB / 0.498 GB, free: 49.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004501/0.2976, allocations: 1.938 MB / 0.4999 GB, free: 48.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008595/0.2985, allocations: 0.5831 MB / 0.5005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005893/0.3044, allocations: 4.635 MB / 0.505 GB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3044, allocations: 52.8 kB / 0.5051 GB, free: 46.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 3.166e-06/0.3044, allocations: 2.219 kB / 0.5051 GB, free: 46.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01634/0.3208, allocations: 9.989 MB / 0.5148 GB, free: 40.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.3208, allocations: 204.9 kB / 0.515 GB, free: 40.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003681/0.3245, allocations: 4.168 MB / 0.5191 GB, free: 37.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.3246, allocations: 49.7 kB / 0.5192 GB, free: 37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/0.3261, allocations: 3.969 MB / 0.523 GB, free: 33.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.3264, allocations: 0.68 MB / 0.5237 GB, free: 32.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009723/0.3274, allocations: 1.415 MB / 0.5251 GB, free: 31.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.718e-05/0.3274, allocations: 484.2 kB / 0.5255 GB, free: 31.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008502/0.3283, allocations: 0.6286 MB / 0.5262 GB, free: 30.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.3306, allocations: 6.657 MB / 0.5327 GB, free: 21.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004209/0.3348, allocations: 7.957 MB / 0.5404 GB, free: 10.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.264e-05/0.3349, allocations: 40 kB / 0.5405 GB, free: 10.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=844) (initialization): time 0.005642/0.3405, allocations: 5.6 MB / 0.5459 GB, free: 5.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.3406, allocations: 68 kB / 0.546 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.428e-05/0.3406, allocations: 140 kB / 0.5461 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007414/0.3414, allocations: 472.2 kB / 0.5466 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/0.3435, allocations: 1.497 MB / 0.548 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.3459, allocations: 4.924 MB / 0.5528 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.348, allocations: 423.5 kB / 0.5533 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/0.3483, allocations: 388 kB / 0.5536 GB, free: 13.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * 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 (804): * Single equations (assignments): 799 * 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,11,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001037/0.3493, allocations: 0.7149 MB / 0.5543 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003581/0.3497, allocations: 425.4 kB / 0.5547 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.351, allocations: 1.084 MB / 0.5558 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.351, allocations: 27.5 kB / 0.5558 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.351, allocations: 4 kB / 0.5558 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.3511, allocations: 7.969 kB / 0.5558 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006572/0.3576, allocations: 5.227 MB / 0.5609 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.3576, allocations: 11.72 kB / 0.5609 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/0.3583, allocations: 283.6 kB / 0.5612 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005887/0.3589, allocations: 267.4 kB / 0.5615 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.3589, allocations: 32 kB / 0.5615 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.3612, allocations: 3.993 MB / 0.5654 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.3612, allocations: 11.94 kB / 0.5654 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.3636, allocations: 2.339 MB / 0.5677 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/0.364, allocations: 393.2 kB / 0.5681 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.3643, allocations: 35.98 kB / 0.5681 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/0.365, allocations: 135 kB / 0.5682 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.3652, allocations: 120.7 kB / 0.5683 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.3653, allocations: 48 kB / 0.5684 GB, free: 13.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002006/0.3673, allocations: 1.818 MB / 0.5702 GB, free: 11.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3673, allocations: 0 / 0.5702 GB, free: 11.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003165/0.3704, allocations: 1.137 MB / 0.5713 GB, free: 10.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (130): * Single equations (assignments): 125 * 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,9,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.0003726/0.3708, allocations: 186.5 kB / 0.5715 GB, free: 10.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004122/0.3749, allocations: 3.201 MB / 0.5746 GB, free: 7.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3749, allocations: 4 kB / 0.5746 GB, free: 7.426 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008242/0.3757, allocations: 0.8602 MB / 0.5754 GB, free: 6.531 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.3773, allocations: 0.5046 MB / 0.5759 GB, free: 6.039 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.3883, allocations: 8.782 MB / 0.5845 GB, free: 13.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.3896, allocations: 1.48 MB / 0.5859 GB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002408/0.392, allocations: 1.687 MB / 0.5876 GB, free: 9.883 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.3925, allocations: 248.5 kB / 0.5878 GB, free: 9.641 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/0.3925, allocations: 0 / 0.5878 GB, free: 9.641 MB / 458.7 MB Notification: Performance of Templates: time 0.1936/0.5861, allocations: 30.06 MB / 0.6172 GB, free: 136 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.48872555186972]