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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2054/0.2054, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.69 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1046, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01347/0.1181, allocations: 13.54 MB / 484.2 MB, free: 28 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008354/0.1265, allocations: 4.536 MB / 488.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.1279, allocations: 91.75 kB / 488.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006387/0.1343, allocations: 4.202 MB / 493.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004365/0.1387, allocations: 2.174 MB / 495.2 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.1404, allocations: 0.9282 MB / 496.2 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00664/0.1471, allocations: 6.022 MB / 0.4904 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005001/0.1521, allocations: 5.184 MB / 0.4955 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.1547, allocations: 2.126 MB / 0.4976 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003452/0.1582, allocations: 2.82 MB / 0.5003 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008552/0.1591, allocations: 476 kB / 0.5008 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.1613, allocations: 1.354 MB / 0.5021 GB, free: 2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2216/0.3829, allocations: 2.522 MB / 0.5046 GB, free: 21.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004722/0.3877, allocations: 2.873 MB / 0.5074 GB, free: 20.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.3982, allocations: 9.161 MB / 0.5163 GB, free: 19.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3982, allocations: 1.406 kB / 0.5163 GB, free: 19.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3982, allocations: 0 / 0.5163 GB, free: 19.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002416/0.3985, allocations: 0 / 0.5163 GB, free: 19.2 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: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.01648/0.415, allocations: 6.129 MB / 0.5223 GB, free: 16.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.415, allocations: 9.469 kB / 0.5223 GB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.4262, allocations: 2.566 MB / 0.5248 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.4364, allocations: 3.888 MB / 0.5286 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.4367, allocations: 299.5 kB / 0.5289 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/0.4386, allocations: 396.6 kB / 0.5293 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02129/0.4599, allocations: 11.48 MB / 0.5405 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002708/0.4602, allocations: 46.66 kB / 0.5405 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008805/0.4611, allocations: 187.4 kB / 0.5407 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003084/0.4642, allocations: 2.086 MB / 0.5427 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.482, allocations: 9.688 MB / 0.5522 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05652/0.5386, allocations: 45.33 MB / 0.5965 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009799/0.5484, allocations: 4.154 MB / 0.6005 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002995/0.5514, allocations: 2.342 MB / 0.6028 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01529/0.5668, allocations: 9.388 MB / 0.612 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.5668, allocations: 55.16 kB / 0.612 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of pre-optimization done (n=169): time 3.747e-06/0.5668, allocations: 0 / 0.612 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.05009/0.6169, allocations: 19.36 MB / 0.6309 GB, free: 13.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.6171, allocations: 209.2 kB / 0.6311 GB, free: 13.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006486/0.6236, allocations: 4.705 MB / 0.6357 GB, free: 8.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002991/0.6239, allocations: 53.7 kB / 0.6358 GB, free: 8.281 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002322/0.6262, allocations: 3.594 MB / 0.6393 GB, free: 4.688 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008816/0.6271, allocations: 0.738 MB / 0.64 GB, free: 3.953 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/0.629, allocations: 1.335 MB / 0.6413 GB, free: 2.609 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.6291, allocations: 301.1 kB / 0.6416 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003374/0.6325, allocations: 2.386 MB / 0.6439 GB, free: 15.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005969/0.6385, allocations: 6.23 MB / 0.65 GB, free: 7.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/0.649, allocations: 9.248 MB / 0.659 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.75e-05/0.6491, allocations: 40 kB / 0.6591 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.01818/0.6673, allocations: 9.72 MB / 0.6686 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/0.6674, allocations: 64.75 kB / 0.6686 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/0.6676, allocations: 136 kB / 0.6688 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004343/0.6719, allocations: 1.599 MB / 0.6703 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004615/0.6766, allocations: 1.478 MB / 0.6718 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.6891, allocations: 10 MB / 0.6815 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00507/0.6942, allocations: 355.4 kB / 0.6819 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006799/0.6949, allocations: 392 kB / 0.6822 GB, free: 5.582 MB / 0.5137 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 (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.004124/0.699, allocations: 2.481 MB / 0.6847 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006868/0.6997, allocations: 414.6 kB / 0.6851 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007787/0.7075, allocations: 4.177 MB / 0.6891 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/0.7075, allocations: 20 kB / 0.6892 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.7076, allocations: 8 kB / 0.6892 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.7076, allocations: 7.969 kB / 0.6892 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/0.7261, allocations: 9.566 MB / 0.6985 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.7262, allocations: 4 kB / 0.6985 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.7276, allocations: 287.6 kB / 0.6988 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004039/0.7317, allocations: 1.356 MB / 0.7001 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/0.7319, allocations: 32 kB / 0.7002 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2546/0.9865, allocations: 9.379 MB / 0.7093 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9866, allocations: 1.562 kB / 0.7093 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.9981, allocations: 6.88 MB / 0.716 GB, free: 182.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/0.9998, allocations: 452.7 kB / 0.7165 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005935/1, allocations: 32.78 kB / 0.7165 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/1.002, allocations: 115.3 kB / 0.7166 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/1.002, allocations: 114 kB / 0.7167 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.002, allocations: 47.17 kB / 0.7168 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005662/1.008, allocations: 2.977 MB / 0.7197 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.153e-06/1.008, allocations: 0 / 0.7197 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007508/1.016, allocations: 1.189 MB / 0.7208 GB, free: 181.1 MB / 0.5294 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.0005133/1.016, allocations: 170.6 kB / 0.721 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008835/1.025, allocations: 5.909 MB / 0.7268 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.025, allocations: 0 / 0.7268 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002724/1.028, allocations: 1.973 MB / 0.7287 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/1.031, allocations: 0.538 MB / 0.7292 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.051, allocations: 11.07 MB / 0.74 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004187/1.055, allocations: 3.859 MB / 0.7438 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004069/1.059, allocations: 1.987 MB / 0.7457 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008171/1.06, allocations: 267.4 kB / 0.746 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/1.06, allocations: 0 / 0.746 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.06832/1.129, allocations: 39.77 MB / 0.7848 GB, free: 124.5 MB / 0.5294 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 -s gbode -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/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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches