Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.001061/0.001061, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001039/0.001039, allocations: 168.9 kB / 24.91 MB, free: 9.148 MB / 18.57 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 0.9736/0.9736, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.726e-05, allocations: 13.27 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01344/0.01347, allocations: 12.73 MB / 336 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.0246, allocations: 4.625 MB / 340.6 MB, free: 8.223 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.02693, allocations: 107.4 kB / 340.7 MB, free: 8.117 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004852/0.03178, allocations: 4.415 MB / 345.2 MB, free: 3.688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005254/0.03703, allocations: 2.255 MB / 347.4 MB, free: 1.422 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.03901, allocations: 1.025 MB / 348.4 MB, free: 404 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006691/0.04571, allocations: 6.817 MB / 355.2 MB, free: 9.574 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004579/0.05028, allocations: 4.501 MB / 359.7 MB, free: 4.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005432/0.05572, allocations: 4.172 MB / 363.9 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.05965, allocations: 2.962 MB / 366.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009568/0.0606, allocations: 480 kB / 367.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.0628, allocations: 1.33 MB / 368.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002275/0.06508, allocations: 2.692 MB / 371.4 MB, free: 9.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.06728, allocations: 1.718 MB / 373.1 MB, free: 7.613 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005876/0.07316, allocations: 5.809 MB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.07316, allocations: 0 / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.07316, allocations: 0 / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001881/0.07335, allocations: 0 / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.007499/0.08085, allocations: 5.72 MB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.08089, allocations: 12.03 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003659/0.08455, allocations: 1.359 MB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/0.08831, allocations: 2.65 MB / 388.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.08847, allocations: 296.1 kB / 388.9 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005129/0.08899, allocations: 412 kB / 389.3 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006798/0.09578, allocations: 5.684 MB / 395 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.09589, allocations: 55.56 kB / 395.1 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/0.09621, allocations: 187.9 kB / 395.3 MB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001453/0.09766, allocations: 1.777 MB / 397 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005012/0.1027, allocations: 2.726 MB / 399.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03064/0.1333, allocations: 34.48 MB / 434.2 MB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003919/0.1372, allocations: 1.607 MB / 435.8 MB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.1378, allocations: 387.4 kB / 436.2 MB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006014/0.1439, allocations: 3.962 MB / 440.2 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.1439, allocations: 47.56 kB / 440.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 4.408e-06/0.1439, allocations: 0 / 440.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=151): time 0.1705/0.3144, allocations: 5.569 MB / 445.8 MB, free: 112.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3144, allocations: 193.8 kB / 446 MB, free: 112.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003544/0.318, allocations: 3.734 MB / 449.7 MB, free: 112.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.3181, allocations: 48.47 kB / 449.8 MB, free: 112.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.3193, allocations: 3.498 MB / 453.3 MB, free: 110.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003933/0.3197, allocations: 0.6274 MB / 453.9 MB, free: 110 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008885/0.3206, allocations: 1.24 MB / 455.1 MB, free: 109.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.657e-05/0.3206, allocations: 305.4 kB / 455.4 MB, free: 109.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.3218, allocations: 0.7516 MB / 456.2 MB, free: 109.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.3239, allocations: 4.694 MB / 460.9 MB, free: 104.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.3274, allocations: 5.993 MB / 466.9 MB, free: 98.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.038e-05/0.3275, allocations: 43 kB / 466.9 MB, free: 98.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.004756/0.3322, allocations: 4.411 MB / 471.3 MB, free: 95.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.3323, allocations: 66.34 kB / 471.4 MB, free: 95.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/0.3324, allocations: 147.7 kB / 471.5 MB, free: 95.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/0.3332, allocations: 394.2 kB / 471.9 MB, free: 94.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/0.3355, allocations: 1.526 MB / 473.4 MB, free: 93.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.3375, allocations: 3.366 MB / 476.8 MB, free: 90.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003229/0.3407, allocations: 286 kB / 477.1 MB, free: 89.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003056/0.341, allocations: 343.1 kB / 477.4 MB, free: 89.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 652 * 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 (801): * Single equations (assignments): 796 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00166/0.3427, allocations: 0.6625 MB / 478.1 MB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005723/0.3432, allocations: 239.7 kB / 478.3 MB, free: 88.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.3442, allocations: 0.8408 MB / 479.2 MB, free: 87.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.3443, allocations: 16 kB / 479.2 MB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.3443, allocations: 4 kB / 479.2 MB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.3443, allocations: 7.984 kB / 479.2 MB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/0.3495, allocations: 4.143 MB / 483.3 MB, free: 83.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.3495, allocations: 8 kB / 483.3 MB, free: 83.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007135/0.3502, allocations: 254.5 kB / 483.6 MB, free: 83.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007886/0.351, allocations: 427.3 kB / 484 MB, free: 82.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/0.351, allocations: 28 kB / 484 MB, free: 82.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.3526, allocations: 2.787 MB / 486.8 MB, free: 79.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3526, allocations: 8 kB / 486.8 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.3544, allocations: 1.726 MB / 488.6 MB, free: 78.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/0.3551, allocations: 361.2 kB / 488.9 MB, free: 77.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/0.3553, allocations: 35.92 kB / 488.9 MB, free: 77.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/0.356, allocations: 35.98 kB / 489 MB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.3562, allocations: 108.6 kB / 489.1 MB, free: 77.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.215e-05/0.3563, allocations: 41.95 kB / 489.1 MB, free: 77.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001247/0.3575, allocations: 1.398 MB / 490.5 MB, free: 76.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3575, allocations: 0 / 490.5 MB, free: 76.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003742/0.3612, allocations: 1.133 MB / 491.7 MB, free: 74.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (123): * Single equations (assignments): 118 * 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.0003228/0.3616, allocations: 164 kB / 491.8 MB, free: 74.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003039/0.3646, allocations: 2.674 MB / 494.5 MB, free: 72.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001584/0.3648, allocations: 104.2 kB / 494.6 MB, free: 71.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.3654, allocations: 0.6355 MB / 495.2 MB, free: 71.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.3675, allocations: 0.7347 MB / 496 MB, free: 70.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.3778, allocations: 8.59 MB / 0.4927 GB, free: 61.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.3789, allocations: 1.472 MB / 0.4942 GB, free: 60.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00138/0.3803, allocations: 0.5433 MB / 0.4947 GB, free: 59.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007496/0.3811, allocations: 0.5909 MB / 0.4953 GB, free: 59.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.914e-06/0.3811, allocations: 0 / 0.4953 GB, free: 59.22 MB / 410.7 MB Notification: Performance of Templates: time 0.04518/0.4263, allocations: 31.71 MB / 0.5262 GB, free: 27.92 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.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.103730552829802]