Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008676/0.0008677, allocations: 95.94 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1725/0.1725, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.638e-05/2.64e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 63.25 MB / 0.5115 GB, free: 6.676 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3765/0.479, allocations: 110.7 MB / 0.6196 GB, free: 15.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.4794, allocations: 84.39 kB / 0.6197 GB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2503/0.7296, allocations: 106.2 MB / 0.7234 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7297, allocations: 0 / 0.7234 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002896/0.73, allocations: 104 kB / 0.7235 GB, free: 12.95 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.01635/0.7463, allocations: 5.144 MB / 0.7285 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.7464, allocations: 15.97 kB / 0.7285 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002627/0.7491, allocations: 0.8857 MB / 0.7294 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02571/0.7748, allocations: 6.892 MB / 0.7361 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/0.7894, allocations: 5.844 MB / 0.7418 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003839/0.7898, allocations: 386.2 kB / 0.7422 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002669/0.7925, allocations: 0.5154 MB / 0.7427 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2969/1.089, allocations: 11.83 MB / 0.7543 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/1.09, allocations: 72.56 kB / 0.7543 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005836/1.09, allocations: 248.1 kB / 0.7546 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001324/1.092, allocations: 1.069 MB / 0.7556 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/1.109, allocations: 9.391 MB / 0.7648 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04968/1.158, allocations: 55.12 MB / 0.8186 GB, free: 81.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009018/1.167, allocations: 3.899 MB / 0.8224 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/1.17, allocations: 2.086 MB / 0.8244 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/1.181, allocations: 8.893 MB / 0.8331 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/1.181, allocations: 49.12 kB / 0.8332 GB, free: 74.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=169): time 4.929e-06/1.181, allocations: 0 / 0.8332 GB, free: 74.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=191): time 0.03516/1.217, allocations: 14.74 MB / 0.8476 GB, free: 69.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/1.217, allocations: 203.6 kB / 0.8478 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005571/1.222, allocations: 4.103 MB / 0.8518 GB, free: 67.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000342/1.223, allocations: 49.2 kB / 0.8518 GB, free: 67.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001831/1.225, allocations: 3.655 MB / 0.8554 GB, free: 64.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000739/1.225, allocations: 0.734 MB / 0.8561 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/1.226, allocations: 128.2 kB / 0.8562 GB, free: 63.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00025/1.226, allocations: 0.5668 MB / 0.8568 GB, free: 63.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002466/1.228, allocations: 2.009 MB / 0.8587 GB, free: 62.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003916/1.232, allocations: 5.836 MB / 0.8644 GB, free: 57.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004195/1.236, allocations: 3.417 MB / 0.8678 GB, free: 55.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-05/1.237, allocations: 42.12 kB / 0.8678 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01388/1.25, allocations: 8.317 MB / 0.8759 GB, free: 52.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/1.251, allocations: 64.5 kB / 0.876 GB, free: 52.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002155/1.251, allocations: 140.6 kB / 0.8761 GB, free: 52.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/1.253, allocations: 0.9138 MB / 0.877 GB, free: 52.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004478/1.258, allocations: 1.427 MB / 0.8784 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007671/1.266, allocations: 7.223 MB / 0.8855 GB, free: 45.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004858/1.27, allocations: 332.8 kB / 0.8858 GB, free: 45.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.272, allocations: 379.5 kB / 0.8862 GB, free: 44.98 MB / 0.5261 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.001499/1.273, allocations: 0.6003 MB / 0.8867 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008258/1.274, allocations: 410.7 kB / 0.8871 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005458/1.279, allocations: 3.106 MB / 0.8902 GB, free: 41.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/1.279, allocations: 20 kB / 0.8902 GB, free: 41.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.279, allocations: 8 kB / 0.8902 GB, free: 41.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/1.279, allocations: 6.891 kB / 0.8902 GB, free: 41.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/1.295, allocations: 8.384 MB / 0.8984 GB, free: 34.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.295, allocations: 0 / 0.8984 GB, free: 34.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/1.296, allocations: 286 kB / 0.8987 GB, free: 34.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/1.298, allocations: 0.6873 MB / 0.8993 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/1.298, allocations: 35.7 kB / 0.8994 GB, free: 33.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006136/1.304, allocations: 6.551 MB / 0.9058 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.304, allocations: 0 / 0.9058 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006791/1.311, allocations: 5.564 MB / 0.9112 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/1.313, allocations: 460.9 kB / 0.9116 GB, free: 22.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000983/1.314, allocations: 31.94 kB / 0.9117 GB, free: 22.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/1.315, allocations: 98.98 kB / 0.9118 GB, free: 22.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/1.316, allocations: 114.7 kB / 0.9119 GB, free: 22.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.316, allocations: 51.52 kB / 0.9119 GB, free: 22.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004964/1.321, allocations: 2.888 MB / 0.9147 GB, free: 19.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/1.321, allocations: 0 / 0.9147 GB, free: 19.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005999/1.327, allocations: 1.128 MB / 0.9158 GB, free: 18.39 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.008057/1.335, allocations: 6.379 MB / 0.9221 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00712/1.342, allocations: 5.189 MB / 0.9271 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.342, allocations: 0 / 0.9271 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/1.345, allocations: 1.742 MB / 0.9288 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.347, allocations: 0.5188 MB / 0.9294 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/1.371, allocations: 10.44 MB / 0.9395 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006257/1.377, allocations: 3.962 MB / 0.9434 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005595/1.383, allocations: 2.001 MB / 0.9454 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003939/1.387, allocations: 2.346 MB / 0.9477 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/1.387, allocations: 0 / 0.9477 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3759/1.763, allocations: 88.53 MB / 1.034 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/1.763, allocations: 176.2 kB / 1.034 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.973/5.736, allocations: 0 / 1.034 GB, free: 106.5 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat