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.00163/0.00163, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.967/1.967, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001121/0.001121, allocations: 95.22 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5271/0.5271, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004798, allocations: 16 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1294, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5463/0.6757, allocations: 108.8 MB / 0.5851 GB, free: 9.684 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/0.6761, allocations: 87.95 kB / 0.5852 GB, free: 9.598 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8386/1.515, allocations: 106.7 MB / 0.6894 GB, free: 85.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.515, allocations: 0 / 0.6894 GB, free: 85.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003987/1.515, allocations: 109.3 kB / 0.6895 GB, free: 85.34 MB / 490.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.02398/1.539, allocations: 5.735 MB / 0.6951 GB, free: 83.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.539, allocations: 9.656 kB / 0.6951 GB, free: 83.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004533/1.544, allocations: 0.9327 MB / 0.696 GB, free: 82.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05254/1.596, allocations: 6.882 MB / 0.7027 GB, free: 82.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02742/1.624, allocations: 6.922 MB / 0.7095 GB, free: 81.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005456/1.625, allocations: 405.6 kB / 0.7099 GB, free: 81.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003234/1.628, allocations: 0.5304 MB / 0.7104 GB, free: 81.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04097/1.669, allocations: 12.41 MB / 0.7225 GB, free: 78.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005899/1.669, allocations: 77.34 kB / 0.7226 GB, free: 78.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002979/1.672, allocations: 259.4 kB / 0.7229 GB, free: 78.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003163/1.676, allocations: 1.124 MB / 0.7239 GB, free: 78.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04239/1.718, allocations: 10 MB / 0.7337 GB, free: 76.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1226/1.841, allocations: 56.73 MB / 0.7891 GB, free: 33.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02175/1.863, allocations: 4.159 MB / 0.7932 GB, free: 32.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02289/1.886, allocations: 9.499 MB / 0.8025 GB, free: 27.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/1.886, allocations: 63.38 kB / 0.8025 GB, free: 27.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=190): time 5.821e-06/1.886, allocations: 0 / 0.8025 GB, free: 27.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=212): time 0.08239/1.968, allocations: 18.33 MB / 0.8204 GB, free: 16.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/1.968, allocations: 212.9 kB / 0.8206 GB, free: 16.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/1.979, allocations: 4.253 MB / 0.8248 GB, free: 12.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007083/1.979, allocations: 53.7 kB / 0.8248 GB, free: 12.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003983/1.983, allocations: 3.628 MB / 0.8284 GB, free: 9.582 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001366/1.985, allocations: 0.8072 MB / 0.8292 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009436/1.986, allocations: 132 kB / 0.8293 GB, free: 8.738 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000533/1.986, allocations: 0.5862 MB / 0.8299 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005924/1.992, allocations: 2.236 MB / 0.832 GB, free: 6.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00911/2.001, allocations: 6.183 MB / 0.8381 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/2.012, allocations: 3.647 MB / 0.8416 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001567/2.012, allocations: 43.95 kB / 0.8417 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=852) (initialization): time 0.02784/2.04, allocations: 8.726 MB / 0.8502 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/2.04, allocations: 68.86 kB / 0.8503 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00026/2.04, allocations: 140 kB / 0.8504 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004784/2.045, allocations: 0.9306 MB / 0.8513 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/2.055, allocations: 1.494 MB / 0.8528 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/2.071, allocations: 7.419 MB / 0.86 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007539/2.079, allocations: 351.6 kB / 0.8604 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/2.081, allocations: 399 kB / 0.8607 GB, free: 9.129 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * 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 (792): * Single equations (assignments): 787 * 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.007846/2.089, allocations: 2.572 MB / 0.8632 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/2.09, allocations: 430.4 kB / 0.8637 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/2.103, allocations: 3.528 MB / 0.8671 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.04e-05/2.103, allocations: 24 kB / 0.8671 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/2.103, allocations: 8 kB / 0.8671 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-05/2.103, allocations: 11.95 kB / 0.8671 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4071/2.51, allocations: 9.14 MB / 0.8761 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.794e-05/2.51, allocations: 3.047 kB / 0.8761 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003319/2.513, allocations: 334.5 kB / 0.8764 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004007/2.517, allocations: 0.6866 MB / 0.8771 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004624/2.518, allocations: 39.14 kB / 0.8771 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/2.531, allocations: 6.727 MB / 0.8837 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/2.532, allocations: 0 / 0.8837 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/2.548, allocations: 6.256 MB / 0.8898 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003106/2.552, allocations: 0.7316 MB / 0.8905 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001623/2.553, allocations: 41.66 kB / 0.8905 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003891/2.557, allocations: 110.8 kB / 0.8906 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008291/2.558, allocations: 125.9 kB / 0.8908 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/2.558, allocations: 55.88 kB / 0.8908 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008479/2.567, allocations: 3.01 MB / 0.8937 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.51e-07/2.567, allocations: 0 / 0.8937 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00837/2.575, allocations: 1.177 MB / 0.8949 GB, free: 101.7 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.01727/2.593, allocations: 7.069 MB / 0.9018 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01553/2.608, allocations: 5.685 MB / 0.9074 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/2.608, allocations: 0 / 0.9074 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006126/2.614, allocations: 1.969 MB / 0.9093 GB, free: 99.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004897/2.619, allocations: 0.5272 MB / 0.9098 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1441/2.764, allocations: 138.7 MB / 1.045 GB, free: 23.47 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01086/2.774, allocations: 4.108 MB / 1.049 GB, free: 22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00661/2.781, allocations: 2.514 MB / 1.052 GB, free: 19.97 MB / 0.5573 GB Notification: Performance of SimCode: time 9.91e-07/2.781, allocations: 7.062 kB / 1.052 GB, free: 19.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.172/7.954, allocations: 144.7 MB / 1.193 GB, free: 124.3 MB / 0.5573 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