Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 179.5 kB / 14.15 MB, free: 1.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009637/0.0009637, allocations: 95.53 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2313/0.2313, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.375e-05, allocations: 8.203 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.6202, allocations: 109.9 MB / 0.6091 GB, free: 11.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.6205, allocations: 79.95 kB / 0.6092 GB, free: 11.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2705/0.891, allocations: 104 MB / 0.7107 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8911, allocations: 0 / 0.7107 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002969/0.8914, allocations: 103.9 kB / 0.7108 GB, free: 2.676 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.3711/1.263, allocations: 5.086 MB / 0.7158 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/1.263, allocations: 9.469 kB / 0.7158 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004216/1.267, allocations: 0.8891 MB / 0.7167 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03083/1.298, allocations: 6.859 MB / 0.7234 GB, free: 113 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01879/1.317, allocations: 6.467 MB / 0.7297 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006369/1.317, allocations: 386.5 kB / 0.7301 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002951/1.32, allocations: 0.5159 MB / 0.7306 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03117/1.351, allocations: 11.84 MB / 0.7421 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005559/1.352, allocations: 70.73 kB / 0.7422 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002886/1.355, allocations: 246.8 kB / 0.7424 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001832/1.357, allocations: 1.068 MB / 0.7435 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02118/1.378, allocations: 9.393 MB / 0.7526 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06123/1.439, allocations: 55.12 MB / 0.8065 GB, free: 68.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008633/1.448, allocations: 3.902 MB / 0.8103 GB, free: 66.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/1.45, allocations: 2.086 MB / 0.8123 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.012/1.462, allocations: 8.887 MB / 0.821 GB, free: 61.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/1.462, allocations: 57.5 kB / 0.8211 GB, free: 61.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=169): time 5.55e-06/1.462, allocations: 0 / 0.8211 GB, free: 61.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=191): time 0.03721/1.5, allocations: 14.73 MB / 0.8354 GB, free: 53.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/1.5, allocations: 205.2 kB / 0.8356 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005438/1.505, allocations: 4.096 MB / 0.8396 GB, free: 49.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003612/1.506, allocations: 57.08 kB / 0.8397 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001756/1.507, allocations: 3.661 MB / 0.8433 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006803/1.508, allocations: 0.737 MB / 0.844 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/1.508, allocations: 120 kB / 0.8441 GB, free: 45.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002388/1.508, allocations: 0.5758 MB / 0.8447 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/1.511, allocations: 2.005 MB / 0.8466 GB, free: 43.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003535/1.514, allocations: 5.837 MB / 0.8523 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/1.518, allocations: 3.418 MB / 0.8557 GB, free: 32.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.835e-05/1.519, allocations: 40 kB / 0.8557 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.0142/1.533, allocations: 8.32 MB / 0.8638 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/1.533, allocations: 60 kB / 0.8639 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/1.533, allocations: 136 kB / 0.864 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/1.535, allocations: 0.9207 MB / 0.8649 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004703/1.54, allocations: 1.419 MB / 0.8663 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00779/1.548, allocations: 7.237 MB / 0.8734 GB, free: 16.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005072/1.553, allocations: 325.2 kB / 0.8737 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008633/1.554, allocations: 390.6 kB / 0.874 GB, free: 15.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (754): * Single equations (assignments): 749 * 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.0008523/1.555, allocations: 0.5949 MB / 0.8746 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006425/1.555, allocations: 410.7 kB / 0.875 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005264/1.561, allocations: 3.105 MB / 0.878 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/1.561, allocations: 24 kB / 0.8781 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.561, allocations: 4 kB / 0.8781 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/1.561, allocations: 11.55 kB / 0.8781 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/1.578, allocations: 8.38 MB / 0.8863 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.578, allocations: 4 kB / 0.8863 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/1.579, allocations: 289.1 kB / 0.8865 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/1.581, allocations: 0.6882 MB / 0.8872 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/1.582, allocations: 28 kB / 0.8872 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007658/1.589, allocations: 6.54 MB / 0.8936 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.589, allocations: 0 / 0.8936 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009799/1.599, allocations: 5.572 MB / 0.8991 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/1.601, allocations: 451.6 kB / 0.8995 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/1.602, allocations: 28 kB / 0.8995 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.604, allocations: 103.9 kB / 0.8996 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004157/1.605, allocations: 113.1 kB / 0.8997 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.605, allocations: 51.98 kB / 0.8998 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007186/1.612, allocations: 2.888 MB / 0.9026 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/1.612, allocations: 0 / 0.9026 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007595/1.62, allocations: 1.128 MB / 0.9037 GB, free: 3.332 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 (141): * Single equations (assignments): 136 * 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.01082/1.63, allocations: 6.385 MB / 0.9099 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01035/1.641, allocations: 5.175 MB / 0.915 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.641, allocations: 0 / 0.915 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003279/1.644, allocations: 1.745 MB / 0.9167 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/1.648, allocations: 0.527 MB / 0.9172 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.343/1.991, allocations: 10.41 MB / 0.9274 GB, free: 130.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006768/1.998, allocations: 3.966 MB / 0.9313 GB, free: 129.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007367/2.005, allocations: 2.004 MB / 0.9332 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004388/2.01, allocations: 2.345 MB / 0.9355 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.773e-06/2.01, allocations: 2.188 kB / 0.9355 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1321/2.142, allocations: 88.55 MB / 1.022 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/2.142, allocations: 173.1 kB / 1.022 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.545/7.687, allocations: 3.938 kB / 1.022 GB, free: 101.1 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat