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.001119/0.001119, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 79.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 62.43 MB / 481.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01344/0.1294, allocations: 13.43 MB / 494.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008738/0.1381, allocations: 4.532 MB / 499.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.1403, allocations: 99.62 kB / 499.5 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007057/0.1474, allocations: 4.171 MB / 0.4919 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005084/0.1525, allocations: 2.128 MB / 0.494 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.1545, allocations: 0.9242 MB / 0.4949 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007703/0.1622, allocations: 6.074 MB / 0.5008 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.206/0.3683, allocations: 5.153 MB / 0.5058 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.3721, allocations: 2.103 MB / 0.5079 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004046/0.3762, allocations: 2.806 MB / 0.5106 GB, free: 15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.3773, allocations: 467.5 kB / 0.5111 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.3797, allocations: 1.333 MB / 0.5124 GB, free: 15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002702/0.3824, allocations: 2.493 MB / 0.5148 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003602/0.3861, allocations: 2.818 MB / 0.5175 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009592/0.3957, allocations: 9.014 MB / 0.5263 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3957, allocations: 1.125 kB / 0.5263 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3957, allocations: 0 / 0.5263 GB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003581/0.3961, allocations: 1.281 kB / 0.5264 GB, free: 11.57 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.01492/0.411, allocations: 6.062 MB / 0.5323 GB, free: 7.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4111, allocations: 9.938 kB / 0.5323 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.4221, allocations: 2.568 MB / 0.5348 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008626/0.4307, allocations: 3.816 MB / 0.5385 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.4309, allocations: 297.6 kB / 0.5388 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.4323, allocations: 402.4 kB / 0.5392 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/0.4493, allocations: 11.28 MB / 0.5502 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/0.4495, allocations: 57.56 kB / 0.5503 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005137/0.45, allocations: 184.2 kB / 0.5504 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003169/0.4532, allocations: 2.027 MB / 0.5524 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/0.4707, allocations: 9.529 MB / 0.5617 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06042/0.5311, allocations: 44.93 MB / 0.6056 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009975/0.5412, allocations: 4.133 MB / 0.6096 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/0.5441, allocations: 2.346 MB / 0.6119 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/0.5593, allocations: 9.38 MB / 0.6211 GB, free: 2.441 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.5594, allocations: 51.03 kB / 0.6211 GB, free: 2.387 MB / 462.1 MB Notification: Performance of pre-optimization done (n=169): time 4.749e-06/0.5594, allocations: 0 / 0.6211 GB, free: 2.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.05258/0.612, allocations: 19.32 MB / 0.64 GB, free: 15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.6122, allocations: 197.2 kB / 0.6402 GB, free: 14.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00794/0.6201, allocations: 4.689 MB / 0.6448 GB, free: 10.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004158/0.6206, allocations: 53.7 kB / 0.6448 GB, free: 10.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002691/0.6233, allocations: 3.555 MB / 0.6483 GB, free: 6.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.6243, allocations: 0.7368 MB / 0.649 GB, free: 5.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002664/0.627, allocations: 1.328 MB / 0.6503 GB, free: 4.383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6271, allocations: 303.3 kB / 0.6506 GB, free: 4.086 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/0.6308, allocations: 2.375 MB / 0.6529 GB, free: 1.707 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006229/0.637, allocations: 6.216 MB / 0.659 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.6477, allocations: 9.227 MB / 0.668 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/0.6479, allocations: 40 kB / 0.668 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01941/0.6673, allocations: 9.687 MB / 0.6775 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.6675, allocations: 64 kB / 0.6775 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001908/0.6677, allocations: 140.1 kB / 0.6777 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004424/0.6721, allocations: 1.599 MB / 0.6792 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004739/0.6769, allocations: 1.466 MB / 0.6807 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.6898, allocations: 9.995 MB / 0.6904 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004995/0.6949, allocations: 359.4 kB / 0.6908 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/0.6959, allocations: 390.2 kB / 0.6911 GB, free: 7.098 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.005212/0.7012, allocations: 2.454 MB / 0.6935 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/0.7023, allocations: 406.8 kB / 0.6939 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0089/0.7112, allocations: 4.169 MB / 0.698 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.934e-05/0.7113, allocations: 27.73 kB / 0.698 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.559e-05/0.7114, allocations: 11.94 kB / 0.698 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.367e-05/0.7114, allocations: 12.02 kB / 0.6981 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02635/0.7378, allocations: 9.512 MB / 0.7073 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/0.7379, allocations: 0 / 0.7073 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.7394, allocations: 279.6 kB / 0.7076 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004174/0.7436, allocations: 1.368 MB / 0.7089 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/0.7439, allocations: 32 kB / 0.709 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2344/0.9783, allocations: 9.377 MB / 0.7181 GB, free: 189.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.9783, allocations: 2.344 kB / 0.7181 GB, free: 189.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/0.9891, allocations: 6.867 MB / 0.7248 GB, free: 187.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/0.9907, allocations: 455.5 kB / 0.7253 GB, free: 187.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/0.9912, allocations: 34.14 kB / 0.7253 GB, free: 187.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.9927, allocations: 114.9 kB / 0.7254 GB, free: 187.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000421/0.9931, allocations: 115.4 kB / 0.7255 GB, free: 187.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.9933, allocations: 48.69 kB / 0.7256 GB, free: 187.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006344/0.9996, allocations: 2.961 MB / 0.7285 GB, free: 186.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.11e-07/0.9996, allocations: 0 / 0.7285 GB, free: 186.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006717/1.006, allocations: 1.175 MB / 0.7296 GB, free: 186 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.0004883/1.007, allocations: 159.7 kB / 0.7298 GB, free: 185.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008557/1.015, allocations: 5.901 MB / 0.7355 GB, free: 183.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.015, allocations: 0 / 0.7355 GB, free: 183.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/1.018, allocations: 1.984 MB / 0.7375 GB, free: 182.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/1.022, allocations: 0.5305 MB / 0.738 GB, free: 182.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/1.041, allocations: 10.96 MB / 0.7487 GB, free: 177.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003804/1.044, allocations: 3.82 MB / 0.7524 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004078/1.049, allocations: 1.976 MB / 0.7543 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/1.049, allocations: 274.9 kB / 0.7546 GB, free: 173 MB / 0.545 GB Notification: Performance of SimCode: time 2.084e-06/1.049, allocations: 0 / 0.7546 GB, free: 173 MB / 0.545 GB Notification: Performance of Templates: time 0.06503/1.114, allocations: 39.45 MB / 0.7931 GB, free: 135.3 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches