Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.001128/0.001128, 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.001213/0.001213, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.119/1.119, allocations: 177 MB / 205.2 MB, free: 5.523 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.3107/0.3107, allocations: 34.87 MB / 296.6 MB, free: 0.5273 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.Bevel1D,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.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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 3.938 kB / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.417e-05/3.725e-05, allocations: 2.312 kB / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01598/0.01601, allocations: 13 MB / 391.8 MB, free: 5.355 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.02797, allocations: 4.47 MB / 396.2 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003489/0.03146, allocations: 107.4 kB / 396.3 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00567/0.03713, allocations: 4.498 MB / 400.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005223/0.04236, allocations: 2.247 MB / 403.1 MB, free: 9.996 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.04432, allocations: 1.033 MB / 404.1 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00759/0.05191, allocations: 6.82 MB / 410.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005721/0.05763, allocations: 4.637 MB / 415.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005598/0.06323, allocations: 3.243 MB / 418.8 MB, free: 10.17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004993/0.06822, allocations: 3.141 MB / 421.9 MB, free: 7.023 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001492/0.06972, allocations: 480 kB / 422.4 MB, free: 6.555 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.07264, allocations: 1.295 MB / 423.7 MB, free: 5.258 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003146/0.07578, allocations: 2.7 MB / 426.4 MB, free: 2.551 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002914/0.0787, allocations: 1.714 MB / 428.1 MB, free: 0.832 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007903/0.0866, allocations: 5.808 MB / 433.9 MB, free: 11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.08661, allocations: 0 / 433.9 MB, free: 11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.08661, allocations: 0 / 433.9 MB, free: 11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002276/0.08683, allocations: 0 / 433.9 MB, free: 11 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: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.009891/0.09673, allocations: 6.616 MB / 440.5 MB, free: 4.316 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.09677, allocations: 8.031 kB / 440.6 MB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007495/0.1043, allocations: 3.149 MB / 443.7 MB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1758/0.28, allocations: 3.372 MB / 447.1 MB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.2802, allocations: 300.1 kB / 447.4 MB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009224/0.2812, allocations: 396.7 kB / 447.8 MB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/0.2943, allocations: 6.873 MB / 454.6 MB, free: 94.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001834/0.2945, allocations: 46.69 kB / 454.7 MB, free: 94.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005018/0.295, allocations: 190.4 kB / 454.9 MB, free: 94.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002541/0.2975, allocations: 2.023 MB / 456.9 MB, free: 94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.3089, allocations: 3.564 MB / 460.4 MB, free: 93.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03779/0.3467, allocations: 47.86 MB / 0.4964 GB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006171/0.3529, allocations: 2.124 MB / 0.4985 GB, free: 54.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.3543, allocations: 0.7239 MB / 0.4992 GB, free: 54.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009312/0.3636, allocations: 5.926 MB / 0.505 GB, free: 51.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.692e-05/0.3636, allocations: 63.48 kB / 0.505 GB, free: 50.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=169): time 7.134e-06/0.3637, allocations: 3.531 kB / 0.505 GB, free: 50.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.02794/0.3916, allocations: 13.74 MB / 0.5185 GB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.3917, allocations: 201.2 kB / 0.5186 GB, free: 41.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003829/0.3955, allocations: 4.055 MB / 0.5226 GB, free: 38.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002926/0.3958, allocations: 61.69 kB / 0.5227 GB, free: 37.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.3972, allocations: 3.858 MB / 0.5264 GB, free: 34.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007013/0.3979, allocations: 0.7949 MB / 0.5272 GB, free: 33.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.3989, allocations: 1.42 MB / 0.5286 GB, free: 31.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.924e-05/0.399, allocations: 476.8 kB / 0.529 GB, free: 31.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.4003, allocations: 0.7583 MB / 0.5298 GB, free: 30.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/0.4027, allocations: 6.477 MB / 0.5361 GB, free: 21.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004641/0.4074, allocations: 7.925 MB / 0.5439 GB, free: 10.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-05/0.4074, allocations: 36 kB / 0.5439 GB, free: 10.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.008109/0.4156, allocations: 6.403 MB / 0.5501 GB, free: 4.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.4156, allocations: 64.94 kB / 0.5502 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.837e-05/0.4157, allocations: 132 kB / 0.5503 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/0.4182, allocations: 1.117 MB / 0.5514 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.4208, allocations: 1.466 MB / 0.5528 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/0.427, allocations: 6.2 MB / 0.5589 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004488/0.4315, allocations: 411.5 kB / 0.5593 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008502/0.4323, allocations: 388 kB / 0.5597 GB, free: 10.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * 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 (787): * Single equations (assignments): 782 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001917/0.4342, allocations: 0.6924 MB / 0.5603 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009116/0.4351, allocations: 445.4 kB / 0.5608 GB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003899/0.439, allocations: 2.164 MB / 0.5629 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/0.4391, allocations: 20 kB / 0.5629 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/0.4391, allocations: 12 kB / 0.5629 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.4391, allocations: 7.969 kB / 0.5629 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/0.4512, allocations: 6.343 MB / 0.5691 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.4512, allocations: 0 / 0.5691 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/0.4521, allocations: 283.6 kB / 0.5694 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00248/0.4545, allocations: 0.8852 MB / 0.5702 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/0.4547, allocations: 39.98 kB / 0.5703 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005601/0.4603, allocations: 5.779 MB / 0.5759 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4603, allocations: 0 / 0.5759 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00526/0.4656, allocations: 3.224 MB / 0.5791 GB, free: 6.258 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.4666, allocations: 393.2 kB / 0.5795 GB, free: 5.871 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/0.467, allocations: 35.98 kB / 0.5795 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.468, allocations: 167.7 kB / 0.5796 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.4683, allocations: 125 kB / 0.5798 GB, free: 5.551 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/0.4684, allocations: 51.98 kB / 0.5798 GB, free: 5.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00257/0.4709, allocations: 1.785 MB / 0.5816 GB, free: 3.707 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4709, allocations: 0 / 0.5816 GB, free: 3.707 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005796/0.4767, allocations: 1.32 MB / 0.5828 GB, free: 2.387 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (141): * Single equations (assignments): 136 * 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.00064/0.4774, allocations: 186.8 kB / 0.583 GB, free: 2.191 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006682/0.4841, allocations: 3.605 MB / 0.5865 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.4841, allocations: 4 kB / 0.5866 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.4859, allocations: 1.142 MB / 0.5877 GB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.4885, allocations: 0.4949 MB / 0.5881 GB, free: 12.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.5023, allocations: 9.036 MB / 0.597 GB, free: 3.766 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/0.5039, allocations: 1.505 MB / 0.5984 GB, free: 2.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002839/0.5067, allocations: 1.657 MB / 0.6001 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/0.5074, allocations: 260.5 kB / 0.6003 GB, free: 320 kB / 458.7 MB Notification: Performance of SimCode: time 2.504e-06/0.5074, allocations: 0 / 0.6003 GB, free: 320 kB / 458.7 MB Notification: Performance of Templates: time 0.2241/0.7315, allocations: 40.15 MB / 0.6395 GB, free: 118.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.04964330396615]