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.001057/0.001057, allocations: 110.8 kB / 18.45 MB, free: 4.645 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.001083/0.001083, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.264/1.264, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.1999/0.1999, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3557, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01657/0.3724, allocations: 13.54 MB / 0.5328 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.3836, allocations: 4.536 MB / 0.5372 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.3864, allocations: 89.84 kB / 0.5373 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008226/0.3946, allocations: 4.198 MB / 0.5414 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007165/0.4018, allocations: 2.176 MB / 0.5435 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002685/0.4045, allocations: 0.9137 MB / 0.5444 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01051/0.4151, allocations: 6.027 MB / 0.5503 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007921/0.423, allocations: 5.186 MB / 0.5554 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004234/0.4273, allocations: 2.119 MB / 0.5574 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004989/0.4323, allocations: 2.831 MB / 0.5602 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.4339, allocations: 472 kB / 0.5607 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004102/0.438, allocations: 1.362 MB / 0.562 GB, free: 468 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003837/0.4419, allocations: 2.556 MB / 0.5645 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005009/0.4469, allocations: 2.871 MB / 0.5673 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.4591, allocations: 9.161 MB / 0.5762 GB, free: 1.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4591, allocations: 0 / 0.5762 GB, free: 1.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4591, allocations: 0 / 0.5762 GB, free: 1.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003429/0.4595, allocations: 0 / 0.5762 GB, free: 1.816 MB / 430.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.0157/0.4752, allocations: 6.126 MB / 0.5822 GB, free: 11.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4753, allocations: 12.03 kB / 0.5822 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.4878, allocations: 2.571 MB / 0.5847 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009563/0.4974, allocations: 3.875 MB / 0.5885 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/0.4978, allocations: 304.1 kB / 0.5888 GB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/0.4994, allocations: 411.8 kB / 0.5892 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02377/0.5232, allocations: 11.46 MB / 0.6004 GB, free: 8.184 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002748/0.5235, allocations: 55.5 kB / 0.6004 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/0.5249, allocations: 191.8 kB / 0.6006 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003781/0.5287, allocations: 2.089 MB / 0.6027 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01951/0.5483, allocations: 9.686 MB / 0.6121 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06085/0.6092, allocations: 45.33 MB / 0.6564 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/0.6245, allocations: 4.151 MB / 0.6605 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005187/0.6298, allocations: 2.339 MB / 0.6627 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02297/0.6528, allocations: 9.399 MB / 0.6719 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.995e-05/0.653, allocations: 47.5 kB / 0.672 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 6.122e-06/0.653, allocations: 0 / 0.672 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05841/0.7114, allocations: 19.35 MB / 0.6909 GB, free: 9.664 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.7115, allocations: 197.2 kB / 0.691 GB, free: 9.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008118/0.7197, allocations: 4.709 MB / 0.6956 GB, free: 4.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004508/0.7201, allocations: 57.7 kB / 0.6957 GB, free: 4.648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002972/0.7231, allocations: 3.595 MB / 0.6992 GB, free: 1.004 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.7242, allocations: 0.7444 MB / 0.6999 GB, free: 256 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002921/0.7272, allocations: 1.336 MB / 0.7012 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7273, allocations: 301.1 kB / 0.7015 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004021/0.7313, allocations: 2.382 MB / 0.7039 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006584/0.7379, allocations: 6.229 MB / 0.7099 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/0.7489, allocations: 9.257 MB / 0.719 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001549/0.7491, allocations: 36 kB / 0.719 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.2679/1.017, allocations: 9.718 MB / 0.7285 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/1.017, allocations: 63.23 kB / 0.7286 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002304/1.017, allocations: 136.3 kB / 0.7287 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004972/1.022, allocations: 1.596 MB / 0.7303 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004859/1.027, allocations: 1.481 MB / 0.7317 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/1.039, allocations: 9.996 MB / 0.7415 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004537/1.044, allocations: 366.9 kB / 0.7418 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009496/1.044, allocations: 388.6 kB / 0.7422 GB, free: 171 MB / 0.5762 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.003963/1.048, allocations: 2.478 MB / 0.7446 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008425/1.049, allocations: 408.5 kB / 0.745 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007105/1.056, allocations: 4.176 MB / 0.7491 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.056, allocations: 17.97 kB / 0.7491 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/1.057, allocations: 7.875 kB / 0.7491 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/1.057, allocations: 11.64 kB / 0.7491 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/1.072, allocations: 9.57 MB / 0.7585 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/1.072, allocations: 0 / 0.7585 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/1.073, allocations: 292.5 kB / 0.7587 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003512/1.076, allocations: 1.363 MB / 0.7601 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/1.077, allocations: 31.69 kB / 0.7601 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008912/1.085, allocations: 9.393 MB / 0.7693 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.086, allocations: 3.938 kB / 0.7693 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008776/1.094, allocations: 6.862 MB / 0.776 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.095, allocations: 459 kB / 0.7764 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009956/1.096, allocations: 32 kB / 0.7764 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/1.098, allocations: 119.6 kB / 0.7766 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/1.099, allocations: 117.1 kB / 0.7767 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.099, allocations: 51.89 kB / 0.7767 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00362/1.103, allocations: 2.968 MB / 0.7796 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/1.103, allocations: 0 / 0.7796 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005047/1.108, allocations: 1.193 MB / 0.7808 GB, free: 146.2 MB / 0.5762 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.0004074/1.108, allocations: 173.4 kB / 0.7809 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007187/1.115, allocations: 5.898 MB / 0.7867 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.115, allocations: 4 kB / 0.7867 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/1.118, allocations: 1.974 MB / 0.7886 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/1.121, allocations: 0.5432 MB / 0.7892 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/1.141, allocations: 11.56 MB / 0.8005 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00345/1.145, allocations: 3.848 MB / 0.8042 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.146, allocations: 319.4 kB / 0.8045 GB, free: 122 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/1.146, allocations: 0 / 0.8045 GB, free: 122 MB / 0.5762 GB Notification: Performance of Templates: time 0.1184/1.264, allocations: 113.3 MB / 0.9152 GB, free: 8.727 MB / 0.5762 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/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