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.001362/0.001362, allocations: 183 kB / 13.19 MB, free: 2.129 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.654/1.654, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001077/0.001077, allocations: 88.34 kB / 267 MB, free: 9.273 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.4265/0.4265, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.167e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.5949, allocations: 108.7 MB / 0.5791 GB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5953, allocations: 84.02 kB / 0.5792 GB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2896/0.8849, allocations: 106.8 MB / 0.6835 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.145e-06/0.885, allocations: 0 / 0.6835 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005365/0.8855, allocations: 111.9 kB / 0.6836 GB, free: 10.85 MB / 0.4948 GB 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.01915/0.9047, allocations: 5.255 MB / 0.6887 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.9048, allocations: 8.031 kB / 0.6887 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004675/0.9095, allocations: 0.9308 MB / 0.6896 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3457/1.255, allocations: 6.894 MB / 0.6964 GB, free: 87.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02233/1.278, allocations: 6.879 MB / 0.7031 GB, free: 86.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006109/1.278, allocations: 406.2 kB / 0.7035 GB, free: 86.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003359/1.282, allocations: 0.5285 MB / 0.704 GB, free: 86.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03366/1.315, allocations: 12.3 MB / 0.716 GB, free: 83.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005415/1.316, allocations: 82.25 kB / 0.7161 GB, free: 83.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002666/1.319, allocations: 258.2 kB / 0.7163 GB, free: 83.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001947/1.321, allocations: 1.129 MB / 0.7174 GB, free: 83.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02148/1.342, allocations: 9.807 MB / 0.727 GB, free: 83.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08042/1.422, allocations: 56.74 MB / 0.7824 GB, free: 45.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/1.433, allocations: 4.115 MB / 0.7864 GB, free: 43.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/1.436, allocations: 2.256 MB / 0.7886 GB, free: 42.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/1.452, allocations: 9.492 MB / 0.7979 GB, free: 38.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.557e-05/1.452, allocations: 62.81 kB / 0.798 GB, free: 37.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=190): time 5.119e-06/1.452, allocations: 0 / 0.798 GB, free: 37.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=212): time 0.04663/1.498, allocations: 15.83 MB / 0.8134 GB, free: 31.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.499, allocations: 208.2 kB / 0.8136 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009362/1.508, allocations: 4.201 MB / 0.8177 GB, free: 29.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004908/1.508, allocations: 56.42 kB / 0.8178 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0026/1.511, allocations: 3.777 MB / 0.8215 GB, free: 26.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.512, allocations: 0.8106 MB / 0.8223 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008555/1.513, allocations: 129.8 kB / 0.8224 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007392/1.514, allocations: 0.586 MB / 0.8229 GB, free: 25.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003836/1.518, allocations: 2.164 MB / 0.8251 GB, free: 25.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005122/1.523, allocations: 6.11 MB / 0.831 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005179/1.528, allocations: 3.622 MB / 0.8346 GB, free: 17.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/1.528, allocations: 39.69 kB / 0.8346 GB, free: 17.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=852) (initialization): time 0.01712/1.545, allocations: 8.769 MB / 0.8432 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002707/1.546, allocations: 64.94 kB / 0.8432 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003001/1.546, allocations: 144 kB / 0.8434 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/1.549, allocations: 0.9167 MB / 0.8443 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00546/1.554, allocations: 1.505 MB / 0.8457 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008322/1.563, allocations: 7.223 MB / 0.8528 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006278/1.569, allocations: 359.1 kB / 0.8531 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/1.571, allocations: 395.7 kB / 0.8535 GB, free: 5.688 MB / 0.4948 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 () * 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.002351/1.573, allocations: 0.609 MB / 0.8541 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.574, allocations: 434.1 kB / 0.8545 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007178/1.582, allocations: 3.466 MB / 0.8579 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.225e-05/1.582, allocations: 24 kB / 0.8579 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/1.582, allocations: 4 kB / 0.8579 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/1.582, allocations: 15.16 kB / 0.8579 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/1.602, allocations: 9.061 MB / 0.8668 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.54e-05/1.602, allocations: 0 / 0.8668 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/1.604, allocations: 334 kB / 0.8671 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002572/1.606, allocations: 0.6871 MB / 0.8678 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003729/1.607, allocations: 42.91 kB / 0.8678 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009151/1.616, allocations: 6.54 MB / 0.8742 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.616, allocations: 0 / 0.8742 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/1.626, allocations: 6.157 MB / 0.8802 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002549/1.629, allocations: 0.735 MB / 0.8809 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001626/1.631, allocations: 38.66 kB / 0.881 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.633, allocations: 114 kB / 0.8811 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004424/1.634, allocations: 129.3 kB / 0.8812 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/1.634, allocations: 52 kB / 0.8813 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006613/1.641, allocations: 2.968 MB / 0.8842 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.173e-06/1.641, allocations: 3.469 kB / 0.8842 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007736/1.648, allocations: 1.18 MB / 0.8853 GB, free: 9.305 MB / 0.5261 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 () * 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.01078/1.659, allocations: 6.948 MB / 0.8921 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.322/1.981, allocations: 5.567 MB / 0.8975 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.981, allocations: 4.312 kB / 0.8975 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00425/1.986, allocations: 1.914 MB / 0.8994 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/1.99, allocations: 0.5284 MB / 0.8999 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03426/2.025, allocations: 10.99 MB / 0.9107 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008618/2.033, allocations: 4.115 MB / 0.9147 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006931/2.04, allocations: 2.095 MB / 0.9167 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005656/2.046, allocations: 2.469 MB / 0.9191 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/2.046, allocations: 0 / 0.9191 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1652/2.211, allocations: 92.24 MB / 1.009 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/2.212, allocations: 170.1 kB / 1.009 GB, free: 83.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.41/7.622, allocations: 8 kB / 1.009 GB, free: 83.18 MB / 0.5261 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