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.001144/0.001144, allocations: 199.7 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.254/1.254, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007407/0.0007407, allocations: 91.53 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2938/0.2938, allocations: 44.82 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002547, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3149, allocations: 62.96 MB / 0.5159 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.05104/0.366, allocations: 63.08 MB / 0.5775 GB, free: 8.305 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03528/0.4013, allocations: 13.3 MB / 0.5905 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01513/0.4165, allocations: 307.2 kB / 0.5908 GB, free: 12.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.4284, allocations: 3.286 MB / 0.594 GB, free: 9.285 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02913/0.4576, allocations: 9.684 MB / 0.6034 GB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005349/0.4629, allocations: 0.8542 MB / 0.6043 GB, free: 14.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.07434/0.5373, allocations: 62.1 MB / 0.6649 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00936/0.5467, allocations: 7.016 MB / 0.6718 GB, free: 9.426 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.5495, allocations: 1.654 MB / 0.6734 GB, free: 7.766 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.5527, allocations: 2.547 MB / 0.6759 GB, free: 5.211 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008443/0.5536, allocations: 180 kB / 0.676 GB, free: 5.035 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.5557, allocations: 1.1 MB / 0.6771 GB, free: 3.934 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.5577, allocations: 2.174 MB / 0.6792 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2675/0.8252, allocations: 2.359 MB / 0.6815 GB, free: 66.8 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.8358, allocations: 7.092 MB / 0.6885 GB, free: 66.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.8358, allocations: 4.406 kB / 0.6885 GB, free: 66.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.8358, allocations: 0 / 0.6885 GB, free: 66.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004128/0.8362, allocations: 0 / 0.6885 GB, free: 66.41 MB / 490.7 MB 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.01517/0.8514, allocations: 5.055 MB / 0.6934 GB, free: 64.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.8515, allocations: 10.94 kB / 0.6934 GB, free: 64.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/0.8636, allocations: 2.66 MB / 0.696 GB, free: 63.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009184/0.8728, allocations: 3.753 MB / 0.6997 GB, free: 63.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004386/0.8733, allocations: 300.7 kB / 0.7 GB, free: 63.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/0.8756, allocations: 409.2 kB / 0.7004 GB, free: 63.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.8987, allocations: 11.46 MB / 0.7115 GB, free: 61.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002345/0.8991, allocations: 54.44 kB / 0.7116 GB, free: 61.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007057/0.8998, allocations: 189 kB / 0.7118 GB, free: 61.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00325/0.903, allocations: 2.082 MB / 0.7138 GB, free: 60.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/0.9216, allocations: 9.672 MB / 0.7233 GB, free: 59.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04971/0.9714, allocations: 45.57 MB / 0.7678 GB, free: 23.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009064/0.9805, allocations: 4.147 MB / 0.7718 GB, free: 20.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/0.9834, allocations: 2.344 MB / 0.7741 GB, free: 18.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01326/0.9966, allocations: 9.389 MB / 0.7833 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.9967, allocations: 60.22 kB / 0.7833 GB, free: 12.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=169): time 5.39e-06/0.9968, allocations: 0 / 0.7833 GB, free: 12.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.05199/1.049, allocations: 19.37 MB / 0.8022 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.049, allocations: 203.4 kB / 0.8024 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007314/1.056, allocations: 4.677 MB / 0.807 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005192/1.057, allocations: 49.7 kB / 0.807 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002552/1.059, allocations: 3.604 MB / 0.8106 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009092/1.06, allocations: 0.737 MB / 0.8113 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/1.061, allocations: 128 kB / 0.8114 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003646/1.061, allocations: 0.5828 MB / 0.812 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/1.065, allocations: 2.364 MB / 0.8143 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005864/1.07, allocations: 6.212 MB / 0.8204 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/1.081, allocations: 9.235 MB / 0.8294 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.715e-05/1.081, allocations: 36 kB / 0.8294 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.01968/1.101, allocations: 9.684 MB / 0.8389 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.703e-05/1.101, allocations: 64 kB / 0.8389 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/1.101, allocations: 132 kB / 0.8391 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004152/1.105, allocations: 1.603 MB / 0.8406 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005063/1.11, allocations: 1.479 MB / 0.8421 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.122, allocations: 9.352 MB / 0.8512 GB, free: 6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004785/1.127, allocations: 367.5 kB / 0.8515 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007526/1.128, allocations: 387.9 kB / 0.8519 GB, free: 5.262 MB / 0.5417 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.004431/1.132, allocations: 2.49 MB / 0.8543 GB, free: 2.895 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007632/1.133, allocations: 406.8 kB / 0.8547 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007468/1.141, allocations: 4.174 MB / 0.8588 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.39e-05/1.141, allocations: 24 kB / 0.8588 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/1.141, allocations: 8 kB / 0.8588 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/1.141, allocations: 11.91 kB / 0.8589 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/1.16, allocations: 9.62 MB / 0.8682 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.16, allocations: 0 / 0.8682 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/1.161, allocations: 290.9 kB / 0.8685 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003816/1.165, allocations: 1.356 MB / 0.8698 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002199/1.165, allocations: 35.94 kB / 0.8699 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/1.176, allocations: 8.733 MB / 0.8784 GB, free: 10.01 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.176, allocations: 4 kB / 0.8784 GB, free: 10 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.188, allocations: 6.877 MB / 0.8851 GB, free: 3.117 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.189, allocations: 455.7 kB / 0.8856 GB, free: 2.648 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/1.19, allocations: 32 kB / 0.8856 GB, free: 2.617 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/1.193, allocations: 123.8 kB / 0.8857 GB, free: 2.496 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000438/1.193, allocations: 120.1 kB / 0.8858 GB, free: 2.383 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/1.193, allocations: 47.98 kB / 0.8859 GB, free: 2.336 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006504/1.2, allocations: 2.941 MB / 0.8887 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3e-07/1.2, allocations: 0 / 0.8887 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00808/1.208, allocations: 1.194 MB / 0.8899 GB, free: 14.21 MB / 0.5886 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.0007454/1.209, allocations: 164.2 kB / 0.8901 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01172/1.22, allocations: 5.874 MB / 0.8958 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.22, allocations: 0 / 0.8958 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005938/1.226, allocations: 1.971 MB / 0.8977 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/1.232, allocations: 0.5252 MB / 0.8982 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2794/1.512, allocations: 13.58 MB / 0.9115 GB, free: 232.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006952/1.519, allocations: 3.836 MB / 0.9153 GB, free: 231.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/1.52, allocations: 312.9 kB / 0.9155 GB, free: 231.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.342e-06/1.52, allocations: 0 / 0.9155 GB, free: 231.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.1342/1.654, allocations: 111.7 MB / 1.025 GB, free: 140 MB / 0.5886 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