Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002206/0.002211, allocations: 186.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001166, allocations: 98.84 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4064/0.4064, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006516/0.0006517, allocations: 16 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1223, allocations: 58.86 MB / 490.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.4258/0.5481, allocations: 60.04 MB / 0.5375 GB, free: 9.695 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03952/0.5877, allocations: 14 MB / 0.5511 GB, free: 5.438 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01607/0.6039, allocations: 310.8 kB / 0.5514 GB, free: 5.383 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.6151, allocations: 3.014 MB / 0.5544 GB, free: 3.945 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03594/0.6511, allocations: 8.59 MB / 0.5628 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005824/0.657, allocations: 0.7942 MB / 0.5636 GB, free: 14.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.07373/0.7308, allocations: 26.8 MB / 0.5897 GB, free: 6.543 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01587/0.7467, allocations: 6.547 MB / 0.5961 GB, free: 15.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0046/0.7514, allocations: 1.39 MB / 0.5975 GB, free: 14.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004884/0.7563, allocations: 1.854 MB / 0.5993 GB, free: 12.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.7578, allocations: 188 kB / 0.5995 GB, free: 12.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003917/0.7618, allocations: 0.952 MB / 0.6004 GB, free: 11.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004131/0.766, allocations: 2.1 MB / 0.6024 GB, free: 9.445 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002585/0.7686, allocations: 1.092 MB / 0.6035 GB, free: 8.344 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.7818, allocations: 7.536 MB / 0.6109 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7819, allocations: 4 kB / 0.6109 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.7819, allocations: 0 / 0.6109 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003409/0.7823, allocations: 0 / 0.6109 GB, free: 0.7852 MB / 410.7 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.02043/0.8027, allocations: 5.543 MB / 0.6163 GB, free: 11.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.8028, allocations: 12.03 kB / 0.6163 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003349/0.8061, allocations: 0.88 MB / 0.6172 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09044/0.8966, allocations: 8.024 MB / 0.625 GB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/0.9115, allocations: 4.267 MB / 0.6292 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004676/0.912, allocations: 312 kB / 0.6295 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002198/0.9142, allocations: 419.7 kB / 0.6299 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03606/0.9503, allocations: 11.96 MB / 0.6415 GB, free: 440 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002702/0.9506, allocations: 47.59 kB / 0.6416 GB, free: 392 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001383/0.952, allocations: 199.8 kB / 0.6418 GB, free: 192 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00692/0.959, allocations: 2.202 MB / 0.6439 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03344/0.9925, allocations: 10.01 MB / 0.6537 GB, free: 3.961 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1053/1.098, allocations: 46.74 MB / 0.6993 GB, free: 3.812 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02906/1.127, allocations: 4.263 MB / 0.7035 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0414/1.168, allocations: 9.677 MB / 0.7129 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.329e-05/1.169, allocations: 51.88 kB / 0.713 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 8.075e-06/1.169, allocations: 0 / 0.713 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of matching and sorting (n=212): time 0.5124/1.681, allocations: 19.42 MB / 0.732 GB, free: 182 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.681, allocations: 205 kB / 0.7322 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/1.695, allocations: 5.069 MB / 0.7371 GB, free: 180 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005691/1.696, allocations: 53.95 kB / 0.7372 GB, free: 179.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00348/1.699, allocations: 3.62 MB / 0.7407 GB, free: 177 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.701, allocations: 0.8053 MB / 0.7415 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008244/1.702, allocations: 127.6 kB / 0.7416 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005031/1.702, allocations: 0.582 MB / 0.7422 GB, free: 175.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006429/1.709, allocations: 2.309 MB / 0.7444 GB, free: 175.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008691/1.718, allocations: 6.229 MB / 0.7505 GB, free: 169.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008843/1.726, allocations: 3.728 MB / 0.7541 GB, free: 167.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/1.727, allocations: 38.53 kB / 0.7542 GB, free: 167.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=848) (initialization): time 0.0254/1.752, allocations: 8.948 MB / 0.7629 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.752, allocations: 66.53 kB / 0.763 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000229/1.753, allocations: 140 kB / 0.7631 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005341/1.758, allocations: 1.091 MB / 0.7642 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009861/1.768, allocations: 1.497 MB / 0.7656 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/1.783, allocations: 8.201 MB / 0.7737 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007627/1.791, allocations: 363.5 kB / 0.774 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/1.792, allocations: 393.9 kB / 0.7744 GB, free: 150.4 MB / 0.5105 GB 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.006504/1.799, allocations: 2.575 MB / 0.7769 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.8, allocations: 426.5 kB / 0.7773 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/1.811, allocations: 3.805 MB / 0.781 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.063e-05/1.811, allocations: 24.78 kB / 0.781 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/1.811, allocations: 8 kB / 0.781 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-05/1.811, allocations: 7.969 kB / 0.7811 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02843/1.84, allocations: 9.62 MB / 0.7904 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.514e-05/1.84, allocations: 0 / 0.7904 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003311/1.843, allocations: 335.6 kB / 0.7908 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004749/1.848, allocations: 0.8444 MB / 0.7916 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004974/1.849, allocations: 36 kB / 0.7916 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/1.862, allocations: 7.534 MB / 0.799 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.862, allocations: 7.938 kB / 0.799 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/1.879, allocations: 6.629 MB / 0.8055 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003036/1.882, allocations: 0.7765 MB / 0.8062 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/1.884, allocations: 32.7 kB / 0.8063 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003858/1.888, allocations: 115.9 kB / 0.8064 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008704/1.889, allocations: 130.3 kB / 0.8065 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/1.889, allocations: 59.98 kB / 0.8065 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00777/1.897, allocations: 3.235 MB / 0.8097 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.423e-06/1.897, allocations: 0 / 0.8097 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008764/1.905, allocations: 1.215 MB / 0.8109 GB, free: 112.6 MB / 0.5105 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 (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.01775/1.923, allocations: 7.463 MB / 0.8182 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01424/1.938, allocations: 5.828 MB / 0.8239 GB, free: 99.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.938, allocations: 0 / 0.8239 GB, free: 99.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005616/1.943, allocations: 2.036 MB / 0.8259 GB, free: 97.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/1.948, allocations: 0.5288 MB / 0.8264 GB, free: 96.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4907/2.439, allocations: 139.3 MB / 0.9624 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007699/2.447, allocations: 4.109 MB / 0.9664 GB, free: 139 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005329/2.452, allocations: 2.485 MB / 0.9688 GB, free: 137 MB / 0.5105 GB Notification: Performance of SimCode: time 1.824e-06/2.452, allocations: 0 / 0.9688 GB, free: 137 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.238/7.69, allocations: 145.5 MB / 1.111 GB, free: 166.1 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat