Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 75.66 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1322, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01628/0.1485, allocations: 13.42 MB / 493.6 MB, free: 7.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009138/0.1577, allocations: 4.528 MB / 498.1 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.1601, allocations: 91.69 kB / 498.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00755/0.1677, allocations: 4.174 MB / 0.4906 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00584/0.1736, allocations: 2.132 MB / 0.4927 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.1761, allocations: 0.9242 MB / 0.4936 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009082/0.1852, allocations: 6.07 MB / 0.4995 GB, free: 5.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007897/0.1932, allocations: 5.172 MB / 0.5045 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2612/0.4544, allocations: 2.089 MB / 0.5066 GB, free: 16.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004949/0.4593, allocations: 2.804 MB / 0.5093 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001828/0.4612, allocations: 466.3 kB / 0.5098 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003972/0.4652, allocations: 1.343 MB / 0.5111 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003935/0.4692, allocations: 2.486 MB / 0.5135 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006944/0.4761, allocations: 2.883 MB / 0.5163 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.4887, allocations: 8.915 MB / 0.525 GB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4887, allocations: 0.75 kB / 0.525 GB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4887, allocations: 0 / 0.525 GB, free: 13.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000398/0.4891, allocations: 0.9688 kB / 0.525 GB, free: 13.27 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: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.0203/0.5094, allocations: 6.25 MB / 0.5311 GB, free: 9.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.5095, allocations: 9.625 kB / 0.5311 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002655/0.5122, allocations: 0.83 MB / 0.5319 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03796/0.5501, allocations: 6.047 MB / 0.5378 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009124/0.5593, allocations: 4.135 MB / 0.5419 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.5595, allocations: 295 kB / 0.5422 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001614/0.5611, allocations: 406.8 kB / 0.5426 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/0.5845, allocations: 11.15 MB / 0.5534 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002211/0.5848, allocations: 54.2 kB / 0.5535 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008489/0.5856, allocations: 189.5 kB / 0.5537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/0.5892, allocations: 2.021 MB / 0.5556 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/0.609, allocations: 9.285 MB / 0.5647 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06471/0.6738, allocations: 44.55 MB / 0.6082 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.6845, allocations: 4.024 MB / 0.6121 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/0.6875, allocations: 2.218 MB / 0.6143 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01518/0.7027, allocations: 8.96 MB / 0.6231 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.7028, allocations: 62.83 kB / 0.6231 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of pre-optimization done (n=169): time 3.857e-06/0.7028, allocations: 0 / 0.6231 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.0563/0.7591, allocations: 17.87 MB / 0.6406 GB, free: 14.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.7593, allocations: 201.2 kB / 0.6408 GB, free: 14.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/0.7694, allocations: 4.697 MB / 0.6454 GB, free: 9.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005217/0.7699, allocations: 57.69 kB / 0.6454 GB, free: 9.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003584/0.7735, allocations: 3.596 MB / 0.6489 GB, free: 6.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001507/0.775, allocations: 0.737 MB / 0.6496 GB, free: 5.449 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003603/0.7787, allocations: 1.242 MB / 0.6509 GB, free: 4.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.7788, allocations: 305.1 kB / 0.6511 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004268/0.7831, allocations: 2.155 MB / 0.6532 GB, free: 1.734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00845/0.7916, allocations: 5.968 MB / 0.6591 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/0.8076, allocations: 8.832 MB / 0.6677 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002341/0.8079, allocations: 36 kB / 0.6677 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=807) (initialization): time 0.02229/0.8302, allocations: 8.686 MB / 0.6762 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002597/0.8305, allocations: 60 kB / 0.6763 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003728/0.8309, allocations: 136 kB / 0.6764 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004574/0.8355, allocations: 1.072 MB / 0.6775 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005179/0.8407, allocations: 1.407 MB / 0.6788 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.8526, allocations: 8.576 MB / 0.6872 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00552/0.8582, allocations: 331.5 kB / 0.6875 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001391/0.8596, allocations: 391.3 kB / 0.6879 GB, free: 10.97 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.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 (747): * Single equations (assignments): 742 * 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,33,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006116/0.8657, allocations: 2.443 MB / 0.6903 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/0.8669, allocations: 414.6 kB / 0.6907 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008053/0.875, allocations: 3.425 MB / 0.694 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-05/0.8751, allocations: 23.94 kB / 0.694 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/0.8751, allocations: 8 kB / 0.694 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/0.8752, allocations: 11.91 kB / 0.6941 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/0.9032, allocations: 8.835 MB / 0.7027 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/0.9032, allocations: 0 / 0.7027 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.9049, allocations: 295.6 kB / 0.703 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003145/0.9081, allocations: 0.8494 MB / 0.7038 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004162/0.9085, allocations: 36 kB / 0.7038 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/0.9192, allocations: 7.92 MB / 0.7116 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.9192, allocations: 4 kB / 0.7116 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2532/1.172, allocations: 5.947 MB / 0.7174 GB, free: 190.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.174, allocations: 451.9 kB / 0.7178 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009164/1.175, allocations: 30.44 kB / 0.7178 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/1.177, allocations: 101.1 kB / 0.7179 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004137/1.177, allocations: 116.4 kB / 0.718 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.177, allocations: 51.27 kB / 0.7181 GB, free: 190.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008669/1.186, allocations: 2.98 MB / 0.721 GB, free: 189.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.72e-07/1.186, allocations: 0 / 0.721 GB, free: 189.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009313/1.195, allocations: 1.116 MB / 0.7221 GB, free: 189.4 MB / 0.545 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.01504/1.21, allocations: 6.598 MB / 0.7285 GB, free: 186.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01275/1.223, allocations: 6.475 MB / 0.7349 GB, free: 184.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.223, allocations: 7.844 kB / 0.7349 GB, free: 184.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003915/1.227, allocations: 1.846 MB / 0.7367 GB, free: 183.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005501/1.233, allocations: 0.5683 MB / 0.7372 GB, free: 183.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07097/1.304, allocations: 58.96 MB / 0.7948 GB, free: 125.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003663/1.307, allocations: 3.807 MB / 0.7985 GB, free: 122 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004379/1.312, allocations: 1.984 MB / 0.8005 GB, free: 120 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002837/1.315, allocations: 2.315 MB / 0.8027 GB, free: 117.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/1.315, allocations: 0 / 0.8027 GB, free: 117.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.434, allocations: 86.19 MB / 0.8869 GB, free: 31.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.55, allocations: 8 kB / 0.8869 GB, free: 31.82 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.csv","/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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches