Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001359/0.001359, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2355/0.2355, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 75.78 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1332, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01664/0.1499, allocations: 13.42 MB / 493.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.1612, allocations: 4.524 MB / 498.2 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.1639, allocations: 95.75 kB / 498.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008223/0.1722, allocations: 4.174 MB / 0.4906 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006738/0.179, allocations: 2.127 MB / 0.4927 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.1816, allocations: 0.9243 MB / 0.4936 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.1917, allocations: 6.076 MB / 0.4996 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008015/0.1998, allocations: 5.164 MB / 0.5046 GB, free: 456 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2364/0.4362, allocations: 2.094 MB / 0.5067 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005534/0.4418, allocations: 2.806 MB / 0.5094 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002622/0.4445, allocations: 466.8 kB / 0.5098 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004715/0.4492, allocations: 1.339 MB / 0.5111 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005315/0.4546, allocations: 2.481 MB / 0.5136 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01167/0.4663, allocations: 2.893 MB / 0.5164 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01485/0.4812, allocations: 8.914 MB / 0.5251 GB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.4812, allocations: 0 / 0.5251 GB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4812, allocations: 0 / 0.5251 GB, free: 13.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004275/0.4817, allocations: 0 / 0.5251 GB, free: 13.23 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.02082/0.5025, allocations: 6.246 MB / 0.5312 GB, free: 9.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.5026, allocations: 11.28 kB / 0.5312 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003145/0.5057, allocations: 0.8291 MB / 0.532 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03904/0.5448, allocations: 6.048 MB / 0.5379 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.5556, allocations: 4.131 MB / 0.542 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.5559, allocations: 306.7 kB / 0.5422 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002545/0.5585, allocations: 402.4 kB / 0.5426 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02711/0.5856, allocations: 11.15 MB / 0.5535 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003329/0.586, allocations: 54.59 kB / 0.5536 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/0.5878, allocations: 187.2 kB / 0.5537 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004083/0.5919, allocations: 2.026 MB / 0.5557 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02286/0.6148, allocations: 9.286 MB / 0.5648 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0675/0.6824, allocations: 44.55 MB / 0.6083 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.6936, allocations: 4.026 MB / 0.6122 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003527/0.6972, allocations: 2.223 MB / 0.6144 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01691/0.7141, allocations: 8.959 MB / 0.6232 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.7142, allocations: 55.56 kB / 0.6232 GB, free: 0.625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=169): time 5.711e-06/0.7142, allocations: 0 / 0.6232 GB, free: 0.625 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.05624/0.7705, allocations: 17.87 MB / 0.6407 GB, free: 14.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/0.7707, allocations: 208.6 kB / 0.6409 GB, free: 14.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008893/0.7796, allocations: 4.701 MB / 0.6454 GB, free: 9.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005401/0.7802, allocations: 56.83 kB / 0.6455 GB, free: 9.688 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00324/0.7835, allocations: 3.59 MB / 0.649 GB, free: 6.094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.7848, allocations: 0.7447 MB / 0.6497 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002128/0.787, allocations: 1.238 MB / 0.6509 GB, free: 4.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7871, allocations: 301.1 kB / 0.6512 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/0.791, allocations: 2.159 MB / 0.6533 GB, free: 1.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008582/0.7996, allocations: 5.965 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01248/0.8121, allocations: 8.829 MB / 0.6678 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/0.8123, allocations: 40 kB / 0.6678 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=807) (initialization): time 0.01911/0.8314, allocations: 8.679 MB / 0.6763 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.8315, allocations: 67.98 kB / 0.6764 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/0.8317, allocations: 136 kB / 0.6765 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003261/0.835, allocations: 1.06 MB / 0.6775 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005106/0.8401, allocations: 1.407 MB / 0.6789 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.8528, allocations: 8.582 MB / 0.6873 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005991/0.8588, allocations: 338.7 kB / 0.6876 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001596/0.8604, allocations: 379.9 kB / 0.688 GB, free: 10.87 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.007449/0.8679, allocations: 2.454 MB / 0.6904 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/0.8692, allocations: 410.7 kB / 0.6908 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007619/0.8768, allocations: 3.428 MB / 0.6941 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.904e-05/0.8769, allocations: 20 kB / 0.6941 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.8769, allocations: 8 kB / 0.6941 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.877, allocations: 7.969 kB / 0.6941 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0218/0.8988, allocations: 8.833 MB / 0.7028 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/0.8989, allocations: 0 / 0.7028 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.9004, allocations: 283.6 kB / 0.703 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003104/0.9036, allocations: 0.8573 MB / 0.7039 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003268/0.9039, allocations: 31.98 kB / 0.7039 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.9151, allocations: 7.919 MB / 0.7116 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9151, allocations: 3.938 kB / 0.7116 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2796/1.195, allocations: 5.954 MB / 0.7175 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/1.196, allocations: 449.8 kB / 0.7179 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005706/1.197, allocations: 32.34 kB / 0.7179 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.198, allocations: 98.38 kB / 0.718 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/1.198, allocations: 112.4 kB / 0.7181 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.199, allocations: 47.64 kB / 0.7182 GB, free: 190 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006476/1.205, allocations: 2.987 MB / 0.7211 GB, free: 189.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.22e-07/1.205, allocations: 0 / 0.7211 GB, free: 189.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006565/1.212, allocations: 1.114 MB / 0.7222 GB, free: 189.1 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.009492/1.221, allocations: 6.605 MB / 0.7286 GB, free: 186.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009673/1.231, allocations: 6.475 MB / 0.7349 GB, free: 184.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.231, allocations: 0 / 0.7349 GB, free: 184.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/1.233, allocations: 1.85 MB / 0.7367 GB, free: 183.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/1.237, allocations: 0.5651 MB / 0.7373 GB, free: 183.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07346/1.31, allocations: 58.96 MB / 0.7949 GB, free: 125.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006376/1.316, allocations: 3.818 MB / 0.7986 GB, free: 121.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004478/1.321, allocations: 1.988 MB / 0.8005 GB, free: 119.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00289/1.324, allocations: 2.315 MB / 0.8028 GB, free: 117.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/1.324, allocations: 0 / 0.8028 GB, free: 117.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/1.463, allocations: 86.2 MB / 0.887 GB, free: 31.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.66, allocations: 23.44 kB / 0.887 GB, free: 31.67 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1)