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) 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/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 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=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/ModelicaServices trunk/package.mo): time 0.001444/0.001444, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001806/0.001806, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 68.22 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3809, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01552/0.3965, allocations: 13.42 MB / 0.5441 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.4085, allocations: 4.534 MB / 0.5485 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004076/0.4126, allocations: 94.09 kB / 0.5486 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0079/0.4206, allocations: 4.177 MB / 0.5527 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006341/0.427, allocations: 2.124 MB / 0.5548 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.4293, allocations: 0.9243 MB / 0.5557 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009062/0.4384, allocations: 6.069 MB / 0.5616 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007258/0.4457, allocations: 5.165 MB / 0.5666 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.4497, allocations: 2.095 MB / 0.5687 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00437/0.4541, allocations: 2.804 MB / 0.5714 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.4553, allocations: 472 kB / 0.5719 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/0.458, allocations: 1.334 MB / 0.5732 GB, free: 6.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002278/0.4603, allocations: 2.49 MB / 0.5756 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003351/0.4636, allocations: 2.828 MB / 0.5784 GB, free: 1.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.4737, allocations: 9.044 MB / 0.5872 GB, free: 7.961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4737, allocations: 0 / 0.5872 GB, free: 7.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4737, allocations: 0 / 0.5872 GB, free: 7.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002309/0.4739, allocations: 0 / 0.5872 GB, free: 7.961 MB / 446.1 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.01336/0.4873, allocations: 6.223 MB / 0.5933 GB, free: 1.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.4874, allocations: 8.031 kB / 0.5933 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.4986, allocations: 2.606 MB / 0.5958 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008022/0.5067, allocations: 3.834 MB / 0.5996 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.5069, allocations: 296.1 kB / 0.5999 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.508, allocations: 407.9 kB / 0.6003 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/0.5295, allocations: 11.28 MB / 0.6113 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.5297, allocations: 55.58 kB / 0.6113 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005332/0.5303, allocations: 187.9 kB / 0.6115 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003319/0.5336, allocations: 2.022 MB / 0.6135 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02002/0.5536, allocations: 9.522 MB / 0.6228 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06325/0.6169, allocations: 45 MB / 0.6667 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/0.6285, allocations: 4.147 MB / 0.6708 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004773/0.6333, allocations: 2.339 MB / 0.6731 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02154/0.6549, allocations: 9.4 MB / 0.6822 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.718e-05/0.655, allocations: 55.48 kB / 0.6823 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 5.851e-06/0.6551, allocations: 0 / 0.6823 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.07112/0.7262, allocations: 19.58 MB / 0.7014 GB, free: 300 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.7264, allocations: 201.2 kB / 0.7016 GB, free: 56 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007632/0.734, allocations: 4.702 MB / 0.7062 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006261/0.7347, allocations: 53.7 kB / 0.7063 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003173/0.7379, allocations: 3.688 MB / 0.7099 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/0.7392, allocations: 0.7753 MB / 0.7106 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/0.7411, allocations: 1.33 MB / 0.7119 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7412, allocations: 309.1 kB / 0.7122 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0035/0.7447, allocations: 2.378 MB / 0.7145 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.411/1.156, allocations: 6.208 MB / 0.7206 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/1.168, allocations: 9.214 MB / 0.7296 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003124/1.169, allocations: 38.91 kB / 0.7296 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01834/1.187, allocations: 9.719 MB / 0.7391 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.184e-05/1.187, allocations: 63.59 kB / 0.7392 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/1.187, allocations: 136.5 kB / 0.7393 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/1.191, allocations: 1.595 MB / 0.7409 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004159/1.195, allocations: 1.472 MB / 0.7423 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/1.205, allocations: 10.01 MB / 0.7521 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005264/1.211, allocations: 354.8 kB / 0.7524 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000812/1.212, allocations: 388 kB / 0.7528 GB, free: 140 MB / 0.5606 GB 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.003541/1.215, allocations: 2.461 MB / 0.7552 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000704/1.216, allocations: 429.7 kB / 0.7556 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006615/1.222, allocations: 4.167 MB / 0.7597 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/1.222, allocations: 20 kB / 0.7597 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.222, allocations: 8 kB / 0.7597 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/1.223, allocations: 11.97 kB / 0.7597 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/1.237, allocations: 9.526 MB / 0.769 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.237, allocations: 4 kB / 0.769 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.239, allocations: 283.6 kB / 0.7693 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003546/1.242, allocations: 1.358 MB / 0.7706 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/1.242, allocations: 40 kB / 0.7707 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00918/1.252, allocations: 9.382 MB / 0.7798 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.252, allocations: 0 / 0.7798 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009615/1.261, allocations: 6.899 MB / 0.7866 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.263, allocations: 478.5 kB / 0.787 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004986/1.263, allocations: 32 kB / 0.787 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.265, allocations: 111.8 kB / 0.7871 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/1.265, allocations: 121.1 kB / 0.7873 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.265, allocations: 51.98 kB / 0.7873 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004108/1.269, allocations: 2.96 MB / 0.7902 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.4e-07/1.269, allocations: 0 / 0.7902 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006274/1.276, allocations: 1.172 MB / 0.7913 GB, free: 100.8 MB / 0.5606 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.0004653/1.276, allocations: 170.7 kB / 0.7915 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008581/1.285, allocations: 5.889 MB / 0.7973 GB, free: 94.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.285, allocations: 1.812 kB / 0.7973 GB, free: 94.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002613/1.288, allocations: 1.975 MB / 0.7992 GB, free: 92.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/1.291, allocations: 0.5349 MB / 0.7997 GB, free: 92.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/1.309, allocations: 11.15 MB / 0.8106 GB, free: 81.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003749/1.313, allocations: 3.822 MB / 0.8143 GB, free: 77.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003835/1.317, allocations: 1.976 MB / 0.8163 GB, free: 75.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006701/1.317, allocations: 271.4 kB / 0.8165 GB, free: 74.93 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/1.317, allocations: 0 / 0.8165 GB, free: 74.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.06397/1.381, allocations: 41.55 MB / 0.8571 GB, free: 33.62 MB / 0.5606 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches