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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008332/0.0008333, allocations: 88.19 kB / 15.7 MB, free: 460 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.001142/0.001142, allocations: 174.3 kB / 16.58 MB, free: 6.84 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.568/1.568, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3485/0.3485, allocations: 43.55 MB / 314.6 MB, free: 8.781 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.0004954/0.0004955, allocations: 20 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1194, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.2839/0.4033, allocations: 63.66 MB / 0.4947 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03718/0.4406, allocations: 13.37 MB / 0.5077 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01641/0.457, allocations: 304.1 kB / 0.508 GB, free: 464 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01271/0.4698, allocations: 3.308 MB / 0.5112 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03413/0.504, allocations: 9.74 MB / 0.5208 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005223/0.5092, allocations: 0.7993 MB / 0.5215 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04674/0.556, allocations: 34.92 MB / 0.5556 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/0.5682, allocations: 6.599 MB / 0.5621 GB, free: 5.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.5725, allocations: 1.712 MB / 0.5638 GB, free: 4.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004771/0.5773, allocations: 2.672 MB / 0.5664 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.5787, allocations: 188 kB / 0.5665 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.5818, allocations: 0.9714 MB / 0.5675 GB, free: 420 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003467/0.5853, allocations: 2.271 MB / 0.5697 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002504/0.5879, allocations: 1.092 MB / 0.5708 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009846/0.5977, allocations: 7.544 MB / 0.5782 GB, free: 5.469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5977, allocations: 0 / 0.5782 GB, free: 5.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5978, allocations: 0 / 0.5782 GB, free: 5.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003833/0.5981, allocations: 0 / 0.5782 GB, free: 5.469 MB / 446.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.01669/0.6148, allocations: 5.434 MB / 0.5835 GB, free: 15.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.6149, allocations: 8.031 kB / 0.5835 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003109/0.618, allocations: 0.8838 MB / 0.5843 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03294/0.651, allocations: 6.163 MB / 0.5903 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.6612, allocations: 4.667 MB / 0.5949 GB, free: 4.148 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.6616, allocations: 316 kB / 0.5952 GB, free: 3.836 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/0.6632, allocations: 419.7 kB / 0.5956 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02396/0.6872, allocations: 11.83 MB / 0.6072 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000282/0.6875, allocations: 59.44 kB / 0.6072 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001375/0.6889, allocations: 199.8 kB / 0.6074 GB, free: 6.562 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003665/0.6926, allocations: 2.202 MB / 0.6096 GB, free: 4.359 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01951/0.7121, allocations: 9.856 MB / 0.6192 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3336/1.046, allocations: 46.58 MB / 0.6647 GB, free: 111.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009081/1.055, allocations: 4.246 MB / 0.6688 GB, free: 109.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00278/1.058, allocations: 2.392 MB / 0.6712 GB, free: 108.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/1.072, allocations: 9.566 MB / 0.6805 GB, free: 104.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/1.072, allocations: 55.64 kB / 0.6805 GB, free: 104 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 7.515e-06/1.072, allocations: 0 / 0.6805 GB, free: 104 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.05332/1.125, allocations: 19.1 MB / 0.6992 GB, free: 96.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/1.126, allocations: 202 kB / 0.6994 GB, free: 96.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005867/1.131, allocations: 4.821 MB / 0.7041 GB, free: 94.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004762/1.132, allocations: 56.77 kB / 0.7042 GB, free: 94.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/1.134, allocations: 3.765 MB / 0.7078 GB, free: 91.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009566/1.135, allocations: 0.8134 MB / 0.7086 GB, free: 91.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/1.135, allocations: 128 kB / 0.7088 GB, free: 91.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002817/1.136, allocations: 0.5733 MB / 0.7093 GB, free: 90.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00309/1.139, allocations: 2.317 MB / 0.7116 GB, free: 89.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004623/1.143, allocations: 6.252 MB / 0.7177 GB, free: 83.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/1.148, allocations: 3.717 MB / 0.7213 GB, free: 80.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-05/1.148, allocations: 40 kB / 0.7213 GB, free: 80.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.01405/1.162, allocations: 9.129 MB / 0.7303 GB, free: 71.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/1.162, allocations: 68 kB / 0.7303 GB, free: 71.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/1.162, allocations: 136 kB / 0.7305 GB, free: 71.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/1.165, allocations: 1.083 MB / 0.7315 GB, free: 70.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004454/1.169, allocations: 1.498 MB / 0.733 GB, free: 68.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007843/1.177, allocations: 8.008 MB / 0.7408 GB, free: 60.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/1.183, allocations: 359.4 kB / 0.7411 GB, free: 60.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009592/1.184, allocations: 398.8 kB / 0.7415 GB, free: 59.74 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 (788): * Single equations (assignments): 783 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004781/1.188, allocations: 2.565 MB / 0.744 GB, free: 57.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.189, allocations: 435.1 kB / 0.7444 GB, free: 56.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006699/1.196, allocations: 3.801 MB / 0.7482 GB, free: 52.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.69e-05/1.196, allocations: 31.92 kB / 0.7482 GB, free: 52.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/1.196, allocations: 8 kB / 0.7482 GB, free: 52.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/1.196, allocations: 7.969 kB / 0.7482 GB, free: 52.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/1.214, allocations: 9.595 MB / 0.7576 GB, free: 43.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/1.214, allocations: 4 kB / 0.7576 GB, free: 43.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/1.216, allocations: 335.5 kB / 0.7579 GB, free: 42.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/1.218, allocations: 0.8517 MB / 0.7587 GB, free: 42.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002477/1.219, allocations: 32 kB / 0.7588 GB, free: 42.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007807/1.226, allocations: 7.345 MB / 0.7659 GB, free: 34.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.227, allocations: 0 / 0.7659 GB, free: 34.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009568/1.236, allocations: 6.54 MB / 0.7723 GB, free: 27.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/1.238, allocations: 0.7493 MB / 0.773 GB, free: 27.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.239, allocations: 39.98 kB / 0.7731 GB, free: 27.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002215/1.242, allocations: 123.2 kB / 0.7732 GB, free: 26.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/1.242, allocations: 133.1 kB / 0.7733 GB, free: 26.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.242, allocations: 52 kB / 0.7734 GB, free: 26.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005995/1.248, allocations: 3.043 MB / 0.7763 GB, free: 23.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.8e-07/1.248, allocations: 0 / 0.7763 GB, free: 23.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007854/1.256, allocations: 1.19 MB / 0.7775 GB, free: 22.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01032/1.267, allocations: 7.207 MB / 0.7845 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00918/1.276, allocations: 5.826 MB / 0.7902 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.276, allocations: 7.922 kB / 0.7902 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003088/1.279, allocations: 2.036 MB / 0.7922 GB, free: 7.391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004473/1.283, allocations: 0.5517 MB / 0.7928 GB, free: 6.844 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3085/1.592, allocations: 43.18 MB / 0.8349 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004906/1.597, allocations: 3.999 MB / 0.8388 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005615/1.602, allocations: 2.095 MB / 0.8409 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002741/1.605, allocations: 2.428 MB / 0.8433 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/1.605, allocations: 3.719 kB / 0.8433 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1425/1.748, allocations: 93.23 MB / 0.9343 GB, free: 92.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/1.748, allocations: 217.3 kB / 0.9345 GB, free: 92.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.177/5.925, allocations: 0 / 0.9345 GB, free: 92.64 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat