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.001256/0.001256, allocations: 114.3 kB / 18.45 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 206 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1874/0.1874, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 75.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2827, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01263/0.2954, allocations: 13.42 MB / 0.5448 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009114/0.3045, allocations: 4.54 MB / 0.5492 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.307, allocations: 89.34 kB / 0.5493 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007092/0.3141, allocations: 4.176 MB / 0.5534 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00523/0.3194, allocations: 2.179 MB / 0.5555 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.3214, allocations: 0.932 MB / 0.5564 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007328/0.3287, allocations: 6.069 MB / 0.5623 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005336/0.3341, allocations: 5.174 MB / 0.5674 GB, free: 13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.3367, allocations: 2.091 MB / 0.5694 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002995/0.3397, allocations: 2.816 MB / 0.5722 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007687/0.3405, allocations: 468 kB / 0.5726 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.3426, allocations: 1.338 MB / 0.5739 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00193/0.3445, allocations: 2.513 MB / 0.5764 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002382/0.3469, allocations: 2.832 MB / 0.5791 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007957/0.3549, allocations: 9.006 MB / 0.5879 GB, free: 7.875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3549, allocations: 0 / 0.5879 GB, free: 7.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.355, allocations: 0 / 0.5879 GB, free: 7.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001799/0.3551, allocations: 0 / 0.5879 GB, free: 7.875 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.01043/0.3656, allocations: 6.071 MB / 0.5939 GB, free: 1.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3656, allocations: 8.031 kB / 0.5939 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009763/0.3754, allocations: 2.564 MB / 0.5964 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007163/0.3826, allocations: 3.813 MB / 0.6001 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.3828, allocations: 300.1 kB / 0.6004 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009179/0.3837, allocations: 403.8 kB / 0.6008 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.3997, allocations: 11.28 MB / 0.6118 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.3999, allocations: 59.58 kB / 0.6118 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004981/0.4004, allocations: 183.9 kB / 0.612 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002918/0.4033, allocations: 2.018 MB / 0.614 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.4192, allocations: 9.541 MB / 0.6233 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04819/0.4674, allocations: 44.91 MB / 0.6672 GB, free: 4.457 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009301/0.4768, allocations: 4.14 MB / 0.6712 GB, free: 168 kB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/0.4796, allocations: 2.344 MB / 0.6735 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01296/0.4926, allocations: 9.387 MB / 0.6827 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.4926, allocations: 43.56 kB / 0.6827 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 4.749e-06/0.4927, allocations: 3.938 kB / 0.6827 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.04702/0.5397, allocations: 19.31 MB / 0.7016 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/0.5398, allocations: 201.2 kB / 0.7018 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005582/0.5454, allocations: 4.689 MB / 0.7063 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003454/0.5458, allocations: 57.69 kB / 0.7064 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002103/0.5479, allocations: 3.548 MB / 0.7099 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007896/0.5487, allocations: 0.7444 MB / 0.7106 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/0.5502, allocations: 1.325 MB / 0.7119 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.5503, allocations: 305.1 kB / 0.7122 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00306/0.5534, allocations: 2.371 MB / 0.7145 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.243/0.7964, allocations: 6.218 MB / 0.7206 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009168/0.8056, allocations: 9.224 MB / 0.7296 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002137/0.8059, allocations: 39.08 kB / 0.7296 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01528/0.8211, allocations: 9.688 MB / 0.7391 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.013e-05/0.8212, allocations: 65.5 kB / 0.7391 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/0.8214, allocations: 132.7 kB / 0.7393 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003591/0.825, allocations: 1.602 MB / 0.7408 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003922/0.8289, allocations: 1.462 MB / 0.7422 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009314/0.8382, allocations: 10.01 MB / 0.752 GB, free: 141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00431/0.8426, allocations: 364.8 kB / 0.7524 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000787/0.8434, allocations: 387.9 kB / 0.7527 GB, free: 140.3 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.002916/0.8463, allocations: 2.461 MB / 0.7551 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006122/0.8469, allocations: 401.7 kB / 0.7555 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006139/0.8531, allocations: 4.172 MB / 0.7596 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/0.8531, allocations: 24 kB / 0.7596 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.8531, allocations: 4 kB / 0.7596 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.8532, allocations: 11.97 kB / 0.7596 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.8662, allocations: 9.516 MB / 0.7689 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.8662, allocations: 0 / 0.7689 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.8675, allocations: 287.6 kB / 0.7692 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003344/0.8708, allocations: 1.35 MB / 0.7705 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.871, allocations: 36 kB / 0.7706 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008312/0.8793, allocations: 9.388 MB / 0.7797 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8794, allocations: 0 / 0.7797 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008176/0.8876, allocations: 6.882 MB / 0.7864 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009461/0.8885, allocations: 455.8 kB / 0.7869 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/0.8889, allocations: 28 kB / 0.7869 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.8903, allocations: 115.8 kB / 0.787 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/0.8906, allocations: 121 kB / 0.7871 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.8908, allocations: 53.39 kB / 0.7872 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003178/0.894, allocations: 2.952 MB / 0.7901 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.894, allocations: 4 kB / 0.7901 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004949/0.8989, allocations: 1.174 MB / 0.7912 GB, free: 101.1 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.0003842/0.8993, allocations: 157.7 kB / 0.7914 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007429/0.9068, allocations: 5.905 MB / 0.7971 GB, free: 95.01 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.9068, allocations: 0 / 0.7971 GB, free: 95.01 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002343/0.9092, allocations: 1.981 MB / 0.7991 GB, free: 93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.9116, allocations: 0.5209 MB / 0.7996 GB, free: 92.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.926, allocations: 11.46 MB / 0.8108 GB, free: 81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002899/0.929, allocations: 3.787 MB / 0.8145 GB, free: 77.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009808/0.93, allocations: 311.4 kB / 0.8148 GB, free: 76.87 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.93, allocations: 4 kB / 0.8148 GB, free: 76.87 MB / 0.5606 GB Notification: Performance of Templates: time 0.1049/1.035, allocations: 112.1 MB / 0.9242 GB, free: 12.83 MB / 0.6075 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/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