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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000847/0.0008469, allocations: 86.62 kB / 261.8 MB, free: 1.68 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.2431/0.2431, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.58e-05/1.583e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5562, allocations: 108.1 MB / 0.5716 GB, free: 3.363 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5566, allocations: 85.52 kB / 0.5717 GB, free: 3.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2673/0.8239, allocations: 104.4 MB / 0.6736 GB, free: 3.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.8239, allocations: 0 / 0.6736 GB, free: 3.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002803/0.8242, allocations: 108 kB / 0.6737 GB, free: 2.965 MB / 474.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.0171/0.8413, allocations: 5.26 MB / 0.6788 GB, free: 13.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.8414, allocations: 8.031 kB / 0.6788 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03051/0.8719, allocations: 6.9 MB / 0.6856 GB, free: 6.711 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02553/0.8975, allocations: 6.868 MB / 0.6923 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003286/0.8979, allocations: 172 kB / 0.6924 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002524/0.9004, allocations: 323.8 kB / 0.6928 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.019/0.9194, allocations: 7.213 MB / 0.6998 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4522/1.372, allocations: 11.15 MB / 0.7107 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006591/1.372, allocations: 74.77 kB / 0.7108 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002418/1.375, allocations: 35.16 kB / 0.7108 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002907/1.378, allocations: 1.129 MB / 0.7119 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07263/1.45, allocations: 55.6 MB / 0.7662 GB, free: 72.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/1.455, allocations: 3.397 MB / 0.7695 GB, free: 71.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002841/1.458, allocations: 2.169 MB / 0.7716 GB, free: 71.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/1.458, allocations: 337.1 kB / 0.7719 GB, free: 71.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/1.459, allocations: 57.2 kB / 0.772 GB, free: 71.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=199): time 5.07e-06/1.459, allocations: 0 / 0.772 GB, free: 71.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=221): time 0.05409/1.513, allocations: 18.7 MB / 0.7903 GB, free: 65.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/1.513, allocations: 199.3 kB / 0.7905 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007663/1.52, allocations: 3.688 MB / 0.7941 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005087/1.521, allocations: 33.06 kB / 0.7941 GB, free: 63.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002289/1.523, allocations: 3.815 MB / 0.7978 GB, free: 61.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009731/1.524, allocations: 0.82 MB / 0.7986 GB, free: 60.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/1.525, allocations: 0 / 0.7986 GB, free: 60.56 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003186/1.525, allocations: 0.5966 MB / 0.7992 GB, free: 60.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/1.528, allocations: 2.141 MB / 0.8013 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004903/1.533, allocations: 6.206 MB / 0.8073 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005235/1.538, allocations: 3.619 MB / 0.8109 GB, free: 51.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.873e-05/1.538, allocations: 42.38 kB / 0.8109 GB, free: 51.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01702/1.555, allocations: 8.158 MB / 0.8189 GB, free: 49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.555, allocations: 66.19 kB / 0.819 GB, free: 49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002176/1.555, allocations: 144.2 kB / 0.8191 GB, free: 49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/1.558, allocations: 0.9478 MB / 0.82 GB, free: 48.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/1.563, allocations: 1.567 MB / 0.8215 GB, free: 48.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007773/1.571, allocations: 7.087 MB / 0.8285 GB, free: 44.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006873/1.578, allocations: 228.2 kB / 0.8287 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.58, allocations: 408.9 kB / 0.8291 GB, free: 44.15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (828): * Single equations (assignments): 823 * 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.001269/1.581, allocations: 483 kB / 0.8295 GB, free: 43.76 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006097/1.587, allocations: 3.673 MB / 0.8331 GB, free: 42.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.588, allocations: 402.2 kB / 0.8335 GB, free: 42.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00613/1.594, allocations: 3.394 MB / 0.8368 GB, free: 40.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/1.595, allocations: 23.52 kB / 0.8368 GB, free: 40.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/1.595, allocations: 11.59 kB / 0.8369 GB, free: 40.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/1.595, allocations: 9.562 kB / 0.8369 GB, free: 40.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/1.609, allocations: 8.368 MB / 0.845 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/1.609, allocations: 0 / 0.845 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.611, allocations: 342.7 kB / 0.8454 GB, free: 35.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/1.613, allocations: 0.6791 MB / 0.846 GB, free: 34.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/1.613, allocations: 11.28 kB / 0.846 GB, free: 34.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006099/1.62, allocations: 6.204 MB / 0.8521 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.62, allocations: 4 kB / 0.8521 GB, free: 29.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008048/1.628, allocations: 6.177 MB / 0.8581 GB, free: 23.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/1.63, allocations: 0.7124 MB / 0.8588 GB, free: 22.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004417/1.63, allocations: 0 / 0.8588 GB, free: 22.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.632, allocations: 86.97 kB / 0.8589 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/1.632, allocations: 132.3 kB / 0.859 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.632, allocations: 56.5 kB / 0.8591 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004106/1.636, allocations: 2.502 MB / 0.8615 GB, free: 20.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.636, allocations: 3.938 kB / 0.8615 GB, free: 20.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005897/1.642, allocations: 1.03 MB / 0.8625 GB, free: 19.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 167 * 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.007627/1.65, allocations: 7.122 MB / 0.8695 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007914/1.658, allocations: 5.396 MB / 0.8748 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.658, allocations: 0 / 0.8748 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002404/1.66, allocations: 1.902 MB / 0.8766 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.663, allocations: 445.5 kB / 0.877 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02742/1.69, allocations: 10.8 MB / 0.8876 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005941/1.696, allocations: 4.109 MB / 0.8916 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006304/1.703, allocations: 2.192 MB / 0.8937 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004352/1.707, allocations: 2.432 MB / 0.8961 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of SimCode: time 1.283e-06/1.707, allocations: 4 kB / 0.8961 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4739/2.181, allocations: 86.13 MB / 0.9802 GB, free: 99.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/2.181, allocations: 146.9 kB / 0.9804 GB, free: 99.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.651/6.832, allocations: 4.031 kB / 0.9804 GB, free: 99.69 MB / 0.5105 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) 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