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.001407/0.001407, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 81.88 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1369, allocations: 62.46 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.0165/0.1534, allocations: 13.41 MB / 493.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.1663, allocations: 4.536 MB / 498.1 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003778/0.1702, allocations: 91.69 kB / 498.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008909/0.1792, allocations: 4.186 MB / 0.4906 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007195/0.1864, allocations: 2.116 MB / 0.4926 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.1889, allocations: 0.9321 MB / 0.4936 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.1992, allocations: 6.062 MB / 0.4995 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008403/0.2076, allocations: 5.172 MB / 0.5045 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2765/0.4842, allocations: 2.095 MB / 0.5066 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005405/0.4896, allocations: 2.81 MB / 0.5093 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001993/0.4917, allocations: 466.1 kB / 0.5098 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.4954, allocations: 1.335 MB / 0.5111 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003633/0.4991, allocations: 2.484 MB / 0.5135 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004865/0.504, allocations: 2.826 MB / 0.5162 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.5146, allocations: 8.779 MB / 0.5248 GB, free: 13.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5147, allocations: 1.75 kB / 0.5248 GB, free: 13.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5147, allocations: 2.875 kB / 0.5248 GB, free: 13.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003033/0.515, allocations: 0 / 0.5248 GB, free: 13.26 MB / 382.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.01886/0.5339, allocations: 6.062 MB / 0.5307 GB, free: 9.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5339, allocations: 9.625 kB / 0.5308 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.5459, allocations: 2.569 MB / 0.5333 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007845/0.5538, allocations: 3.741 MB / 0.5369 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.554, allocations: 299.1 kB / 0.5372 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/0.5556, allocations: 399.9 kB / 0.5376 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.5772, allocations: 11.28 MB / 0.5486 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001929/0.5774, allocations: 54.5 kB / 0.5487 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006389/0.5781, allocations: 185.2 kB / 0.5488 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003653/0.5817, allocations: 2.021 MB / 0.5508 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02055/0.6023, allocations: 9.534 MB / 0.5601 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0695/0.6718, allocations: 45.12 MB / 0.6042 GB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.6837, allocations: 4.138 MB / 0.6082 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003932/0.6876, allocations: 2.34 MB / 0.6105 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.017/0.7047, allocations: 9.384 MB / 0.6197 GB, free: 4.125 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.7048, allocations: 50.75 kB / 0.6197 GB, free: 4.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=169): time 4.719e-06/0.7048, allocations: 0 / 0.6197 GB, free: 4.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.06206/0.7669, allocations: 19.32 MB / 0.6386 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.767, allocations: 201.2 kB / 0.6388 GB, free: 464 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008373/0.7754, allocations: 4.693 MB / 0.6434 GB, free: 11.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005792/0.776, allocations: 49.7 kB / 0.6434 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003133/0.7792, allocations: 3.552 MB / 0.6469 GB, free: 8.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.7804, allocations: 0.7439 MB / 0.6476 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002116/0.7825, allocations: 1.321 MB / 0.6489 GB, free: 6.074 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.7826, allocations: 305.1 kB / 0.6492 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004051/0.7867, allocations: 2.379 MB / 0.6515 GB, free: 3.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007717/0.7944, allocations: 6.212 MB / 0.6576 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01365/0.8081, allocations: 9.217 MB / 0.6666 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/0.8083, allocations: 36 kB / 0.6666 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02169/0.83, allocations: 9.706 MB / 0.6761 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.8301, allocations: 60 kB / 0.6761 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000175/0.8303, allocations: 139.9 kB / 0.6763 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004919/0.8352, allocations: 1.603 MB / 0.6778 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/0.8406, allocations: 1.47 MB / 0.6793 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/0.8553, allocations: 10 MB / 0.689 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005752/0.861, allocations: 359.4 kB / 0.6894 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/0.8624, allocations: 388.9 kB / 0.6898 GB, free: 8.918 MB / 0.5294 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.005636/0.868, allocations: 2.461 MB / 0.6922 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/0.8691, allocations: 402.8 kB / 0.6925 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00885/0.878, allocations: 4.169 MB / 0.6966 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-05/0.8781, allocations: 23.94 kB / 0.6966 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/0.8781, allocations: 7.938 kB / 0.6966 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-05/0.8782, allocations: 11.97 kB / 0.6967 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02376/0.9019, allocations: 9.551 MB / 0.706 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.902, allocations: 4 kB / 0.706 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.9035, allocations: 283.6 kB / 0.7063 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004232/0.9077, allocations: 1.372 MB / 0.7076 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/0.908, allocations: 40 kB / 0.7076 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.286/1.194, allocations: 9.372 MB / 0.7168 GB, free: 189.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.194, allocations: 3.047 kB / 0.7168 GB, free: 189.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.207, allocations: 6.871 MB / 0.7235 GB, free: 187.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/1.209, allocations: 453.8 kB / 0.7239 GB, free: 187.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000679/1.21, allocations: 26.72 kB / 0.724 GB, free: 187.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/1.212, allocations: 118.8 kB / 0.7241 GB, free: 187.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004465/1.212, allocations: 119 kB / 0.7242 GB, free: 187.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/1.212, allocations: 51.09 kB / 0.7242 GB, free: 187.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006511/1.219, allocations: 2.958 MB / 0.7271 GB, free: 186.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/1.219, allocations: 3.75 kB / 0.7271 GB, free: 186.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008157/1.227, allocations: 1.167 MB / 0.7283 GB, free: 186.5 MB / 0.545 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.0005535/1.227, allocations: 169 kB / 0.7284 GB, free: 186.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.239, allocations: 6.916 MB / 0.7352 GB, free: 184.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.24, allocations: 0 / 0.7352 GB, free: 184.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003317/1.243, allocations: 1.977 MB / 0.7371 GB, free: 183.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/1.247, allocations: 0.5359 MB / 0.7376 GB, free: 183.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/1.266, allocations: 11.11 MB / 0.7485 GB, free: 177.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003915/1.27, allocations: 3.815 MB / 0.7522 GB, free: 174.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004409/1.274, allocations: 1.98 MB / 0.7541 GB, free: 173.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007165/1.275, allocations: 262.8 kB / 0.7544 GB, free: 173 MB / 0.545 GB Notification: Performance of SimCode: time 1.883e-06/1.275, allocations: 0 / 0.7544 GB, free: 173 MB / 0.545 GB Notification: Performance of Templates: time 0.07676/1.352, allocations: 44.98 MB / 0.7983 GB, free: 129.9 MB / 0.545 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