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.001399/0.001399, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007761/0.0007761, allocations: 97.39 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1839/0.1839, allocations: 45.15 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.536e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 63.24 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.4939, allocations: 110.1 MB / 0.612 GB, free: 8.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4942, allocations: 83.02 kB / 0.612 GB, free: 8.383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2623/0.7566, allocations: 103.9 MB / 0.7135 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7566, allocations: 0 / 0.7135 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003317/0.7569, allocations: 108 kB / 0.7136 GB, free: 8.609 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: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.01856/0.7755, allocations: 5.145 MB / 0.7187 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.7756, allocations: 8.031 kB / 0.7187 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02799/0.8036, allocations: 6.892 MB / 0.7254 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/0.818, allocations: 5.833 MB / 0.7311 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.8182, allocations: 164 kB / 0.7313 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.8201, allocations: 307.9 kB / 0.7315 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01368/0.8338, allocations: 6.892 MB / 0.7383 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02224/0.856, allocations: 10.72 MB / 0.7487 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002668/0.8564, allocations: 75.31 kB / 0.7488 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009415/0.8573, allocations: 36 kB / 0.7489 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/0.8589, allocations: 1.07 MB / 0.7499 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3599/1.219, allocations: 54.11 MB / 0.8027 GB, free: 90.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/1.223, allocations: 3.203 MB / 0.8059 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/1.225, allocations: 2 MB / 0.8078 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/1.225, allocations: 336.1 kB / 0.8081 GB, free: 89.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.225, allocations: 51.52 kB / 0.8082 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=178): time 5.27e-06/1.225, allocations: 3.531 kB / 0.8082 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=200): time 0.03169/1.257, allocations: 17.19 MB / 0.825 GB, free: 85.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/1.257, allocations: 204.1 kB / 0.8252 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004664/1.262, allocations: 3.578 MB / 0.8287 GB, free: 83.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003027/1.262, allocations: 29.23 kB / 0.8287 GB, free: 83.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001635/1.264, allocations: 3.688 MB / 0.8323 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006542/1.265, allocations: 0.7481 MB / 0.833 GB, free: 80.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/1.265, allocations: 0.8438 kB / 0.833 GB, free: 80.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002589/1.265, allocations: 0.5796 MB / 0.8336 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/1.267, allocations: 1.979 MB / 0.8355 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/1.271, allocations: 5.896 MB / 0.8413 GB, free: 73.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/1.275, allocations: 3.405 MB / 0.8446 GB, free: 72.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-05/1.275, allocations: 39.62 kB / 0.8447 GB, free: 72.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=844) (initialization): time 0.01183/1.287, allocations: 7.703 MB / 0.8522 GB, free: 69.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.149e-05/1.287, allocations: 68.78 kB / 0.8522 GB, free: 69.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/1.287, allocations: 145.2 kB / 0.8524 GB, free: 69.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/1.289, allocations: 0.9374 MB / 0.8533 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/1.294, allocations: 1.473 MB / 0.8547 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007226/1.301, allocations: 7.079 MB / 0.8616 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005837/1.307, allocations: 212.6 kB / 0.8618 GB, free: 65.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.308, allocations: 398.8 kB / 0.8622 GB, free: 64.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 640 * 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 (784): * Single equations (assignments): 779 * 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.001295/1.31, allocations: 473.8 kB / 0.8627 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006038/1.316, allocations: 3.364 MB / 0.866 GB, free: 63.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008001/1.317, allocations: 395.2 kB / 0.8663 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005539/1.322, allocations: 3.053 MB / 0.8693 GB, free: 62.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/1.322, allocations: 21.47 kB / 0.8693 GB, free: 62.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.322, allocations: 7.75 kB / 0.8694 GB, free: 62.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.322, allocations: 7.312 kB / 0.8694 GB, free: 62.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/1.336, allocations: 7.734 MB / 0.8769 GB, free: 57.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.336, allocations: 9.531 kB / 0.8769 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.337, allocations: 304.7 kB / 0.8772 GB, free: 57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/1.339, allocations: 0.6689 MB / 0.8779 GB, free: 56.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/1.339, allocations: 4 kB / 0.8779 GB, free: 56.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/1.345, allocations: 6.2 MB / 0.8839 GB, free: 50.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.345, allocations: 3.938 kB / 0.8839 GB, free: 50.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007203/1.353, allocations: 5.621 MB / 0.8894 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.354, allocations: 419.7 kB / 0.8898 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004949/1.354, allocations: 11.94 kB / 0.8898 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.356, allocations: 69.59 kB / 0.8899 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/1.356, allocations: 127 kB / 0.89 GB, free: 45.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.356, allocations: 56.95 kB / 0.8901 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003286/1.359, allocations: 2.427 MB / 0.8924 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/1.36, allocations: 0 / 0.8924 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005476/1.365, allocations: 0.9876 MB / 0.8934 GB, free: 42.01 MB / 0.5261 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 (150): * Single equations (assignments): 145 * 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.006741/1.372, allocations: 6.57 MB / 0.8998 GB, free: 36.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006773/1.379, allocations: 5.006 MB / 0.9047 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.379, allocations: 0 / 0.9047 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00216/1.381, allocations: 1.73 MB / 0.9064 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/1.383, allocations: 451.3 kB / 0.9068 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/1.406, allocations: 10.25 MB / 0.9168 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004011/1.41, allocations: 3.958 MB / 0.9207 GB, free: 17.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005105/1.415, allocations: 2.079 MB / 0.9227 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00291/1.418, allocations: 2.329 MB / 0.925 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of SimCode: time 8.92e-07/1.418, allocations: 0 / 0.925 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4596/1.878, allocations: 82.64 MB / 1.006 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/1.878, allocations: 135 kB / 1.006 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.892/6.77, allocations: 3.906 kB / 1.006 GB, free: 126.9 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