Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008489/0.0008489, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009931/0.0009931, allocations: 184.6 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3678/0.3678, allocations: 43.57 MB / 315 MB, free: 8.699 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005184/0.0005184, allocations: 19.98 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 58.86 MB / 443.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3155/0.4461, allocations: 68.44 MB / 0.4999 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03875/0.4849, allocations: 13.97 MB / 0.5135 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01818/0.5031, allocations: 304.3 kB / 0.5138 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00232/0.5055, allocations: 0.4995 MB / 0.5143 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007639/0.5132, allocations: 2.134 MB / 0.5164 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.5162, allocations: 0.8538 MB / 0.5172 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01676/0.533, allocations: 8.484 MB / 0.5255 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01365/0.5467, allocations: 7.412 MB / 0.5328 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.5514, allocations: 1.576 MB / 0.5343 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005268/0.5567, allocations: 2.678 MB / 0.5369 GB, free: 40 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009246/0.5576, allocations: 188 kB / 0.5371 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.5605, allocations: 1.139 MB / 0.5382 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002629/0.5632, allocations: 2.302 MB / 0.5405 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003349/0.5665, allocations: 2.614 MB / 0.543 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.5772, allocations: 8.876 MB / 0.5517 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5773, allocations: 0 / 0.5517 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5773, allocations: 0 / 0.5517 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003121/0.5776, allocations: 0 / 0.5517 GB, free: 0.8633 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.01243/0.5901, allocations: 5.192 MB / 0.5567 GB, free: 11.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5901, allocations: 12.03 kB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/0.6031, allocations: 2.657 MB / 0.5594 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.6139, allocations: 3.985 MB / 0.5632 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/0.6143, allocations: 308.4 kB / 0.5635 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/0.6163, allocations: 420.1 kB / 0.5639 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02487/0.6412, allocations: 12 MB / 0.5757 GB, free: 7.379 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002145/0.6415, allocations: 55.58 kB / 0.5757 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006714/0.6422, allocations: 187.8 kB / 0.5759 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003796/0.646, allocations: 2.206 MB / 0.578 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.021/0.667, allocations: 10.16 MB / 0.588 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3743/1.041, allocations: 47.17 MB / 0.634 GB, free: 110.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/1.052, allocations: 4.381 MB / 0.6383 GB, free: 110.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003413/1.056, allocations: 2.52 MB / 0.6408 GB, free: 110.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0149/1.071, allocations: 9.98 MB / 0.6505 GB, free: 108.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/1.071, allocations: 49.31 kB / 0.6506 GB, free: 108 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 6.773e-06/1.071, allocations: 1.734 kB / 0.6506 GB, free: 108 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.05796/1.129, allocations: 20.83 MB / 0.6709 GB, free: 100.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.129, allocations: 205.2 kB / 0.6711 GB, free: 100.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00978/1.139, allocations: 4.825 MB / 0.6758 GB, free: 98.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000739/1.14, allocations: 56.58 kB / 0.6759 GB, free: 98.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003698/1.143, allocations: 3.712 MB / 0.6795 GB, free: 95.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001632/1.145, allocations: 0.8146 MB / 0.6803 GB, free: 94.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/1.146, allocations: 0.5874 MB / 0.6809 GB, free: 94.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/1.146, allocations: 305.9 kB / 0.6812 GB, free: 94.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004219/1.15, allocations: 2.565 MB / 0.6837 GB, free: 93.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00581/1.156, allocations: 6.52 MB / 0.69 GB, free: 87.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/1.167, allocations: 9.748 MB / 0.6995 GB, free: 79.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/1.167, allocations: 39.91 kB / 0.6996 GB, free: 79.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01899/1.186, allocations: 10.19 MB / 0.7095 GB, free: 74.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.186, allocations: 64 kB / 0.7096 GB, free: 74.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001664/1.187, allocations: 140 kB / 0.7097 GB, free: 74.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004083/1.191, allocations: 1.606 MB / 0.7113 GB, free: 72.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004951/1.196, allocations: 1.551 MB / 0.7128 GB, free: 71.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.206, allocations: 9.391 MB / 0.722 GB, free: 61.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009817/1.216, allocations: 383.4 kB / 0.7224 GB, free: 61.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/1.218, allocations: 404 kB / 0.7227 GB, free: 61.08 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 45 (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 (828): * Single equations (assignments): 823 * 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.007851/1.226, allocations: 2.561 MB / 0.7252 GB, free: 58.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001864/1.227, allocations: 426.5 kB / 0.7256 GB, free: 58.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.24, allocations: 4.561 MB / 0.7301 GB, free: 53.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-05/1.24, allocations: 28 kB / 0.7301 GB, free: 53.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.81e-05/1.24, allocations: 8 kB / 0.7301 GB, free: 53.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-05/1.24, allocations: 7.969 kB / 0.7301 GB, free: 53.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03013/1.27, allocations: 10.33 MB / 0.7402 GB, free: 43.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/1.27, allocations: 0 / 0.7402 GB, free: 43.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002369/1.273, allocations: 336.1 kB / 0.7406 GB, free: 42.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005509/1.278, allocations: 1.355 MB / 0.7419 GB, free: 41.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004218/1.279, allocations: 39.98 kB / 0.7419 GB, free: 41.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/1.293, allocations: 8.749 MB / 0.7505 GB, free: 32.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.293, allocations: 0 / 0.7505 GB, free: 32.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/1.304, allocations: 7.475 MB / 0.7578 GB, free: 24.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/1.306, allocations: 0.7844 MB / 0.7585 GB, free: 24.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009427/1.307, allocations: 32 kB / 0.7586 GB, free: 24.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.309, allocations: 147.1 kB / 0.7587 GB, free: 23.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/1.31, allocations: 133.6 kB / 0.7588 GB, free: 23.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.31, allocations: 52 kB / 0.7589 GB, free: 23.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004958/1.315, allocations: 3.045 MB / 0.7618 GB, free: 20.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.21e-07/1.315, allocations: 0.5625 kB / 0.7618 GB, free: 20.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0103/1.325, allocations: 1.251 MB / 0.7631 GB, free: 19.41 MB / 494.1 MB 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 (163): * Single equations (assignments): 158 * 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.0007838/1.326, allocations: 173.3 kB / 0.7632 GB, free: 19.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01029/1.336, allocations: 6.308 MB / 0.7694 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.026e-06/1.336, allocations: 0 / 0.7694 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002981/1.339, allocations: 2.159 MB / 0.7715 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004848/1.344, allocations: 0.5254 MB / 0.772 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02265/1.367, allocations: 14.4 MB / 0.7861 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005607/1.372, allocations: 3.999 MB / 0.79 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005753/1.378, allocations: 2.085 MB / 0.792 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.379, allocations: 279.4 kB / 0.7923 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of SimCode: time 1.753e-06/1.379, allocations: 0 / 0.7923 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of Templates: time 0.3355/1.715, allocations: 44.7 MB / 0.8359 GB, free: 167.7 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches