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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001105, allocations: 105.6 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.368/0.368, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3916, allocations: 62.01 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.05666/0.4483, allocations: 69.51 MB / 0.583 GB, free: 3.477 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03801/0.4864, allocations: 13.95 MB / 0.5967 GB, free: 5.883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02314/0.5096, allocations: 307.2 kB / 0.597 GB, free: 5.582 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00834/0.518, allocations: 4.2 MB / 0.6011 GB, free: 1.371 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006603/0.5247, allocations: 2.024 MB / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.527, allocations: 0.8582 MB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01118/0.5382, allocations: 8.883 MB / 0.6125 GB, free: 5.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007061/0.5453, allocations: 5.076 MB / 0.6175 GB, free: 456 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004344/0.5497, allocations: 1.896 MB / 0.6194 GB, free: 14.54 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005058/0.5548, allocations: 3.014 MB / 0.6223 GB, free: 11.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001321/0.5561, allocations: 328 kB / 0.6226 GB, free: 11.2 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.5593, allocations: 1.264 MB / 0.6238 GB, free: 9.934 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00271/0.562, allocations: 2.435 MB / 0.6262 GB, free: 7.492 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003635/0.5657, allocations: 2.746 MB / 0.6289 GB, free: 4.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009309/0.575, allocations: 8.801 MB / 0.6375 GB, free: 11.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.575, allocations: 0 / 0.6375 GB, free: 11.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.575, allocations: 0 / 0.6375 GB, free: 11.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002948/0.5753, allocations: 0 / 0.6375 GB, free: 11.9 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.01834/0.5937, allocations: 6.145 MB / 0.6435 GB, free: 5.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.5938, allocations: 8.031 kB / 0.6435 GB, free: 5.672 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/0.6072, allocations: 2.595 MB / 0.646 GB, free: 3.066 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.6192, allocations: 3.762 MB / 0.6497 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.6196, allocations: 300.1 kB / 0.65 GB, free: 14.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002056/0.6217, allocations: 407.9 kB / 0.6504 GB, free: 14.56 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02747/0.6492, allocations: 11.47 MB / 0.6616 GB, free: 2.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003464/0.6496, allocations: 55.48 kB / 0.6616 GB, free: 2.285 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/0.6515, allocations: 191.8 kB / 0.6618 GB, free: 2.098 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003811/0.6554, allocations: 2.085 MB / 0.6639 GB, free: 8 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02099/0.6764, allocations: 9.69 MB / 0.6733 GB, free: 6.301 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3643/1.041, allocations: 45.52 MB / 0.7178 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/1.053, allocations: 4.151 MB / 0.7218 GB, free: 98.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003401/1.056, allocations: 2.335 MB / 0.7241 GB, free: 97.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01555/1.072, allocations: 9.388 MB / 0.7333 GB, free: 92.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/1.072, allocations: 60.64 kB / 0.7333 GB, free: 92.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=169): time 4.729e-06/1.072, allocations: 0 / 0.7333 GB, free: 92.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.0501/1.122, allocations: 19.36 MB / 0.7522 GB, free: 82.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/1.122, allocations: 197.2 kB / 0.7524 GB, free: 81.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005563/1.128, allocations: 4.709 MB / 0.757 GB, free: 77.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003208/1.128, allocations: 53.7 kB / 0.7571 GB, free: 77.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/1.129, allocations: 3.597 MB / 0.7606 GB, free: 73.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000628/1.13, allocations: 0.7402 MB / 0.7613 GB, free: 72.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/1.131, allocations: 1.328 MB / 0.7626 GB, free: 71.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/1.131, allocations: 305.1 kB / 0.7629 GB, free: 71.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/1.134, allocations: 2.39 MB / 0.7652 GB, free: 68.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003845/1.138, allocations: 6.221 MB / 0.7713 GB, free: 60.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007368/1.145, allocations: 9.258 MB / 0.7804 GB, free: 49.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.789e-05/1.145, allocations: 40 kB / 0.7804 GB, free: 49.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.01435/1.16, allocations: 9.718 MB / 0.7899 GB, free: 39.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.471e-05/1.16, allocations: 68.06 kB / 0.79 GB, free: 39.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/1.16, allocations: 132 kB / 0.7901 GB, free: 39.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004065/1.164, allocations: 1.599 MB / 0.7916 GB, free: 37.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004243/1.168, allocations: 1.474 MB / 0.7931 GB, free: 36.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/1.179, allocations: 9.369 MB / 0.8022 GB, free: 26.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006822/1.185, allocations: 359.4 kB / 0.8026 GB, free: 26.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00166/1.187, allocations: 388 kB / 0.8029 GB, free: 26.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.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 (790): * Single equations (assignments): 785 * 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.005175/1.192, allocations: 2.477 MB / 0.8054 GB, free: 23.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.194, allocations: 409.2 kB / 0.8058 GB, free: 23.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008406/1.202, allocations: 4.177 MB / 0.8098 GB, free: 18.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/1.202, allocations: 24 kB / 0.8099 GB, free: 18.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/1.202, allocations: 4 kB / 0.8099 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.61e-05/1.202, allocations: 11.97 kB / 0.8099 GB, free: 18.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/1.223, allocations: 9.614 MB / 0.8193 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/1.223, allocations: 0 / 0.8193 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/1.224, allocations: 291.6 kB / 0.8195 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003739/1.228, allocations: 1.36 MB / 0.8209 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/1.228, allocations: 28 kB / 0.8209 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009636/1.238, allocations: 8.742 MB / 0.8294 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.238, allocations: 8 kB / 0.8294 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08687/1.325, allocations: 42.8 MB / 0.8712 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.326, allocations: 459.7 kB / 0.8717 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/1.328, allocations: 31.98 kB / 0.8717 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.33, allocations: 115.8 kB / 0.8718 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005119/1.33, allocations: 109.1 kB / 0.8719 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/1.33, allocations: 48 kB / 0.872 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0058/1.336, allocations: 2.964 MB / 0.8749 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.41e-07/1.336, allocations: 7.938 kB / 0.8749 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006441/1.343, allocations: 1.59 MB / 0.8764 GB, free: 13.89 MB / 0.5417 GB 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.0005648/1.343, allocations: 164.9 kB / 0.8766 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009552/1.353, allocations: 5.882 MB / 0.8823 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.353, allocations: 2 kB / 0.8823 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002899/1.356, allocations: 1.979 MB / 0.8843 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/1.359, allocations: 0.5065 MB / 0.8848 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2608/1.62, allocations: 15.28 MB / 0.8997 GB, free: 174.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004458/1.624, allocations: 3.928 MB / 0.9035 GB, free: 173.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004514/1.629, allocations: 1.995 MB / 0.9055 GB, free: 173.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007471/1.629, allocations: 272.2 kB / 0.9057 GB, free: 173.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.182e-06/1.629, allocations: 3.938 kB / 0.9057 GB, free: 173.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.08931/1.719, allocations: 53.37 MB / 0.9578 GB, free: 144.4 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches