Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009561/0.0009561, allocations: 203.6 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.6 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009456/0.0009455, allocations: 97.48 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 44.83 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002594, allocations: 4 kB / 464.7 MB, free: 49.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1045, allocations: 62.95 MB / 0.5153 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.2622/0.3668, allocations: 63.08 MB / 0.5769 GB, free: 14.46 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03364/0.4005, allocations: 13.32 MB / 0.5899 GB, free: 1.105 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01354/0.4141, allocations: 303.2 kB / 0.5902 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01057/0.4247, allocations: 3.289 MB / 0.5934 GB, free: 13.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02494/0.4496, allocations: 9.645 MB / 0.6029 GB, free: 3.824 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.4536, allocations: 0.7997 MB / 0.6036 GB, free: 3.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.06886/0.5225, allocations: 62.06 MB / 0.6642 GB, free: 4.887 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009895/0.5324, allocations: 6.513 MB / 0.6706 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003243/0.5357, allocations: 1.642 MB / 0.6722 GB, free: 12.67 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003896/0.5396, allocations: 2.551 MB / 0.6747 GB, free: 10.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.5407, allocations: 180 kB / 0.6749 GB, free: 9.934 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002722/0.5435, allocations: 0.9675 MB / 0.6758 GB, free: 8.965 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002889/0.5464, allocations: 2.174 MB / 0.6779 GB, free: 6.785 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.5482, allocations: 1.041 MB / 0.679 GB, free: 5.734 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008205/0.5564, allocations: 7.1 MB / 0.6859 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5564, allocations: 4 kB / 0.6859 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5565, allocations: 0 / 0.6859 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003007/0.5568, allocations: 0 / 0.6859 GB, free: 14.61 MB / 0.4948 GB 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.01128/0.5681, allocations: 5.116 MB / 0.6909 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5681, allocations: 8.031 kB / 0.6909 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/0.5803, allocations: 2.66 MB / 0.6935 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008397/0.5888, allocations: 3.684 MB / 0.6971 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.5891, allocations: 299.8 kB / 0.6974 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/0.5902, allocations: 403.8 kB / 0.6978 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.6074, allocations: 11.46 MB / 0.709 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/0.6076, allocations: 59.52 kB / 0.709 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004504/0.6081, allocations: 187.8 kB / 0.7092 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003218/0.6113, allocations: 2.081 MB / 0.7112 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2108/0.8221, allocations: 9.67 MB / 0.7207 GB, free: 167.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04657/0.8687, allocations: 45.54 MB / 0.7651 GB, free: 135 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008567/0.8773, allocations: 4.142 MB / 0.7692 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002549/0.8799, allocations: 2.345 MB / 0.7715 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.891, allocations: 9.399 MB / 0.7807 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.891, allocations: 51.38 kB / 0.7807 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=169): time 3.908e-06/0.8911, allocations: 0 / 0.7807 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=191): time 0.04301/0.9341, allocations: 19.36 MB / 0.7996 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.9342, allocations: 205.2 kB / 0.7998 GB, free: 102 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005604/0.9398, allocations: 4.682 MB / 0.8044 GB, free: 97.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005564/0.9404, allocations: 53.7 kB / 0.8044 GB, free: 97.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.9422, allocations: 3.59 MB / 0.8079 GB, free: 93.63 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007339/0.9429, allocations: 0.7559 MB / 0.8087 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.9432, allocations: 128 kB / 0.8088 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000234/0.9435, allocations: 0.5788 MB / 0.8094 GB, free: 92.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002724/0.9462, allocations: 2.363 MB / 0.8117 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003928/0.9501, allocations: 6.213 MB / 0.8177 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003959/0.9541, allocations: 3.746 MB / 0.8214 GB, free: 77.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.242e-05/0.9542, allocations: 40 kB / 0.8214 GB, free: 77.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.01371/0.9679, allocations: 9.666 MB / 0.8309 GB, free: 68.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.171e-05/0.968, allocations: 67.95 kB / 0.8309 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.965e-05/0.9681, allocations: 137 kB / 0.8311 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00384/0.9719, allocations: 1.623 MB / 0.8327 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004168/0.9761, allocations: 1.478 MB / 0.8341 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00951/0.9857, allocations: 9.366 MB / 0.8432 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004939/0.9906, allocations: 367.4 kB / 0.8436 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008076/0.9915, allocations: 389.1 kB / 0.844 GB, free: 54.55 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003347/0.9948, allocations: 2.479 MB / 0.8464 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006566/0.9955, allocations: 406.8 kB / 0.8468 GB, free: 51.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0065/1.002, allocations: 4.177 MB / 0.8509 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.591e-05/1.002, allocations: 20 kB / 0.8509 GB, free: 47.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.002, allocations: 8 kB / 0.8509 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-05/1.002, allocations: 7.969 kB / 0.8509 GB, free: 47.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/1.017, allocations: 9.621 MB / 0.8603 GB, free: 37.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/1.017, allocations: 0 / 0.8603 GB, free: 37.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.018, allocations: 291.6 kB / 0.8606 GB, free: 37.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003514/1.022, allocations: 1.353 MB / 0.8619 GB, free: 36.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/1.022, allocations: 36.77 kB / 0.8619 GB, free: 36.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00853/1.031, allocations: 8.736 MB / 0.8704 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.031, allocations: 4 kB / 0.8704 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008625/1.039, allocations: 6.878 MB / 0.8772 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009221/1.04, allocations: 459.7 kB / 0.8776 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000379/1.041, allocations: 35.98 kB / 0.8776 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.042, allocations: 119.8 kB / 0.8778 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/1.042, allocations: 117.1 kB / 0.8779 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.043, allocations: 44.78 kB / 0.8779 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003129/1.046, allocations: 2.945 MB / 0.8808 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/1.046, allocations: 0 / 0.8808 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004255/1.05, allocations: 1.195 MB / 0.882 GB, free: 15.27 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003376/1.05, allocations: 167.5 kB / 0.8821 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007367/1.058, allocations: 5.87 MB / 0.8878 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.058, allocations: 4.312 kB / 0.8878 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/1.06, allocations: 1.973 MB / 0.8898 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/1.063, allocations: 0.5179 MB / 0.8903 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/1.081, allocations: 13.6 MB / 0.9036 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004007/1.085, allocations: 3.831 MB / 0.9073 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/1.086, allocations: 311.4 kB / 0.9076 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/1.086, allocations: 0 / 0.9076 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of Templates: time 0.3052/1.391, allocations: 111.9 MB / 1.017 GB, free: 86.12 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches