Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 98.25 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3725/0.3725, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 59.91 kB / 457.8 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.344, allocations: 60.79 MB / 0.5064 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.05172/0.3958, allocations: 69.51 MB / 0.5743 GB, free: 4.715 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03683/0.4327, allocations: 13.92 MB / 0.5879 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01834/0.451, allocations: 303.2 kB / 0.5881 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00866/0.4597, allocations: 4.209 MB / 0.5923 GB, free: 7.527 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006536/0.4664, allocations: 2.055 MB / 0.5943 GB, free: 5.867 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.4689, allocations: 0.8426 MB / 0.5951 GB, free: 5.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.4798, allocations: 8.776 MB / 0.6037 GB, free: 12.24 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007307/0.4872, allocations: 5.072 MB / 0.6086 GB, free: 7.094 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.4913, allocations: 1.884 MB / 0.6105 GB, free: 5.203 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005305/0.4967, allocations: 3.026 MB / 0.6134 GB, free: 2.168 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001663/0.4983, allocations: 328 kB / 0.6137 GB, free: 1.848 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.5019, allocations: 1.287 MB / 0.615 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003449/0.5054, allocations: 2.423 MB / 0.6173 GB, free: 14.13 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00527/0.5107, allocations: 2.746 MB / 0.62 GB, free: 11.37 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.5228, allocations: 8.816 MB / 0.6286 GB, free: 2.523 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.5228, allocations: 0 / 0.6286 GB, free: 2.523 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5229, allocations: 0 / 0.6286 GB, free: 2.523 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000313/0.5232, allocations: 0 / 0.6286 GB, free: 2.523 MB / 442.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.0149/0.5381, allocations: 6.122 MB / 0.6346 GB, free: 12.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.5381, allocations: 12.03 kB / 0.6346 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.5493, allocations: 2.564 MB / 0.6371 GB, free: 9.738 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009385/0.5587, allocations: 3.801 MB / 0.6408 GB, free: 5.883 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.559, allocations: 304.1 kB / 0.6411 GB, free: 5.586 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/0.5606, allocations: 411.8 kB / 0.6415 GB, free: 5.184 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/0.5821, allocations: 11.47 MB / 0.6527 GB, free: 8.969 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/0.5823, allocations: 55.5 kB / 0.6528 GB, free: 8.914 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005506/0.5829, allocations: 183.9 kB / 0.6529 GB, free: 8.734 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003504/0.5864, allocations: 2.097 MB / 0.655 GB, free: 6.633 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.6068, allocations: 9.682 MB / 0.6645 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3647/0.9716, allocations: 45.53 MB / 0.7089 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009091/0.9807, allocations: 4.143 MB / 0.713 GB, free: 98.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002564/0.9833, allocations: 2.347 MB / 0.7153 GB, free: 97.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01399/0.9973, allocations: 9.392 MB / 0.7244 GB, free: 93.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.9974, allocations: 49.27 kB / 0.7245 GB, free: 93.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=169): time 4.418e-06/0.9974, allocations: 1.344 kB / 0.7245 GB, free: 93.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.0515/1.049, allocations: 19.37 MB / 0.7434 GB, free: 85.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/1.049, allocations: 203 kB / 0.7436 GB, free: 85.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005703/1.055, allocations: 4.71 MB / 0.7482 GB, free: 83.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004244/1.055, allocations: 52.14 kB / 0.7482 GB, free: 83.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/1.057, allocations: 3.591 MB / 0.7517 GB, free: 81.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008439/1.058, allocations: 0.7543 MB / 0.7525 GB, free: 80.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/1.059, allocations: 1.327 MB / 0.7538 GB, free: 79.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.738e-05/1.059, allocations: 308.7 kB / 0.7541 GB, free: 79.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00283/1.062, allocations: 2.382 MB / 0.7564 GB, free: 78.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004656/1.067, allocations: 6.233 MB / 0.7625 GB, free: 71.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008107/1.075, allocations: 9.25 MB / 0.7715 GB, free: 60.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/1.075, allocations: 36 kB / 0.7715 GB, free: 60.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.01575/1.091, allocations: 9.713 MB / 0.781 GB, free: 50.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.011e-05/1.091, allocations: 60 kB / 0.7811 GB, free: 50.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/1.091, allocations: 140 kB / 0.7812 GB, free: 50.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004053/1.095, allocations: 1.603 MB / 0.7828 GB, free: 48.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004532/1.1, allocations: 1.474 MB / 0.7842 GB, free: 47.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009893/1.11, allocations: 9.361 MB / 0.7934 GB, free: 37.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005242/1.115, allocations: 359.5 kB / 0.7937 GB, free: 37.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/1.116, allocations: 388 kB / 0.7941 GB, free: 36.67 MB / 490.7 MB 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 (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.004168/1.12, allocations: 2.478 MB / 0.7965 GB, free: 34.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.121, allocations: 406.8 kB / 0.7969 GB, free: 33.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007413/1.129, allocations: 4.177 MB / 0.801 GB, free: 29.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.935e-05/1.129, allocations: 28 kB / 0.801 GB, free: 29.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.129, allocations: 4 kB / 0.801 GB, free: 29.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/1.129, allocations: 11.97 kB / 0.801 GB, free: 29.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.145, allocations: 9.612 MB / 0.8104 GB, free: 19.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.146, allocations: 3.938 kB / 0.8104 GB, free: 19.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/1.147, allocations: 287.6 kB / 0.8107 GB, free: 19.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003673/1.151, allocations: 1.361 MB / 0.812 GB, free: 18.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002313/1.151, allocations: 28 kB / 0.812 GB, free: 18.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008837/1.16, allocations: 8.744 MB / 0.8206 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.16, allocations: 0 / 0.8206 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0791/1.239, allocations: 42.83 MB / 0.8624 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009819/1.24, allocations: 455.7 kB / 0.8628 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006057/1.24, allocations: 32 kB / 0.8629 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/1.242, allocations: 115.8 kB / 0.863 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004479/1.243, allocations: 121.1 kB / 0.8631 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.243, allocations: 51.94 kB / 0.8631 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004772/1.247, allocations: 2.968 MB / 0.866 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/1.247, allocations: 0 / 0.866 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00752/1.255, allocations: 1.587 MB / 0.8676 GB, free: 8.57 MB / 0.5261 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.0005306/1.256, allocations: 159.2 kB / 0.8677 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009633/1.265, allocations: 5.879 MB / 0.8735 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.265, allocations: 448 / 0.8735 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003065/1.268, allocations: 1.987 MB / 0.8754 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/1.272, allocations: 0.5094 MB / 0.8759 GB, free: 4 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2871/1.559, allocations: 15.28 MB / 0.8908 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006293/1.565, allocations: 3.929 MB / 0.8947 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005272/1.571, allocations: 1.998 MB / 0.8966 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009731/1.572, allocations: 267.2 kB / 0.8969 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/1.572, allocations: 0 / 0.8969 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.09359/1.665, allocations: 53.38 MB / 0.949 GB, free: 129.2 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches