Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",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.001679/0.001679, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.768/1.768, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008976/0.0008976, allocations: 90.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2111/0.2111, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003508, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1175, allocations: 58.87 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.4953, allocations: 94.95 MB / 0.5716 GB, free: 4.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.4956, allocations: 81.95 kB / 0.5717 GB, free: 4.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2329/0.7284, allocations: 90.62 MB / 0.6601 GB, free: 2.168 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.7285, allocations: 0 / 0.6601 GB, free: 2.168 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003916/0.7289, allocations: 96 kB / 0.6602 GB, free: 2.074 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.05955/0.7885, allocations: 9.981 MB / 0.67 GB, free: 8.012 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.7885, allocations: 16.03 kB / 0.67 GB, free: 7.996 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003332/0.7919, allocations: 0.8455 MB / 0.6708 GB, free: 7.141 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009081/0.801, allocations: 2.079 MB / 0.6729 GB, free: 5.051 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009992/0.811, allocations: 3.414 MB / 0.6762 GB, free: 1.578 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003314/0.8114, allocations: 345.1 kB / 0.6765 GB, free: 1.238 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002838/0.8143, allocations: 487.5 kB / 0.677 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04341/0.8577, allocations: 15.42 MB / 0.692 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003806/0.8581, allocations: 67.41 kB / 0.6921 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002633/0.8608, allocations: 219.9 kB / 0.6923 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002642/0.8634, allocations: 1.121 MB / 0.6934 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.301/1.164, allocations: 15.35 MB / 0.7084 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07967/1.244, allocations: 55.63 MB / 0.7627 GB, free: 81.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04162/1.286, allocations: 7.245 MB / 0.7698 GB, free: 80.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008062/1.294, allocations: 6.563 MB / 0.7762 GB, free: 77.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/1.294, allocations: 54.72 kB / 0.7763 GB, free: 77.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 4.789e-06/1.294, allocations: 0 / 0.7763 GB, free: 77.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.004828/1.299, allocations: 3.997 MB / 0.7802 GB, free: 75.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/1.299, allocations: 156.7 kB / 0.7803 GB, free: 75.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005248/1.304, allocations: 4.283 MB / 0.7845 GB, free: 74.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/1.304, allocations: 46.56 kB / 0.7845 GB, free: 74.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001726/1.306, allocations: 3.6 MB / 0.7881 GB, free: 71.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005735/1.307, allocations: 0.7191 MB / 0.7888 GB, free: 70.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/1.307, allocations: 139.1 kB / 0.7889 GB, free: 70.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002791/1.307, allocations: 0.583 MB / 0.7895 GB, free: 70.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/1.31, allocations: 2.206 MB / 0.7916 GB, free: 69.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/1.314, allocations: 6.473 MB / 0.7979 GB, free: 63.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004932/1.319, allocations: 3.709 MB / 0.8016 GB, free: 61.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.566e-05/1.319, allocations: 48.66 kB / 0.8016 GB, free: 61.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01441/1.334, allocations: 8.471 MB / 0.8099 GB, free: 58.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002263/1.334, allocations: 69.88 kB / 0.8099 GB, free: 58.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002986/1.334, allocations: 154.2 kB / 0.8101 GB, free: 58.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/1.335, allocations: 222 kB / 0.8103 GB, free: 58.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005453/1.34, allocations: 1.618 MB / 0.8119 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002016/1.34, allocations: 302.8 kB / 0.8122 GB, free: 58.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/1.346, allocations: 0.9299 MB / 0.8131 GB, free: 57.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/1.347, allocations: 443.5 kB / 0.8135 GB, free: 57.94 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (849): * Single equations (assignments): 846 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004222/1.351, allocations: 2.306 MB / 0.8158 GB, free: 56.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008123/1.352, allocations: 400.4 kB / 0.8161 GB, free: 56.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004627/1.356, allocations: 2.535 MB / 0.8186 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.607e-05/1.356, allocations: 27 kB / 0.8186 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/1.356, allocations: 0 / 0.8186 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.12e-05/1.357, allocations: 11.34 kB / 0.8186 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/1.368, allocations: 4.289 MB / 0.8228 GB, free: 54.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.119e-05/1.368, allocations: 0 / 0.8228 GB, free: 54.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/1.37, allocations: 347.2 kB / 0.8232 GB, free: 54.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.679e-05/1.37, allocations: 3.719 kB / 0.8232 GB, free: 54.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003795/1.371, allocations: 38.39 kB / 0.8232 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-05/1.371, allocations: 7.438 kB / 0.8232 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.371, allocations: 0 / 0.8232 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005875/1.377, allocations: 4.895 MB / 0.828 GB, free: 51.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.378, allocations: 0.491 MB / 0.8285 GB, free: 51.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/1.379, allocations: 40.55 kB / 0.8285 GB, free: 51.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.382, allocations: 62.3 kB / 0.8286 GB, free: 51.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/1.382, allocations: 101.1 kB / 0.8287 GB, free: 51.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.382, allocations: 55.78 kB / 0.8287 GB, free: 51.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006009/1.388, allocations: 2.995 MB / 0.8316 GB, free: 48.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/1.388, allocations: 0 / 0.8316 GB, free: 48.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007073/1.395, allocations: 1.352 MB / 0.833 GB, free: 47.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006507/1.402, allocations: 5.706 MB / 0.8385 GB, free: 42.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007349/1.409, allocations: 5.001 MB / 0.8434 GB, free: 37.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.409, allocations: 0 / 0.8434 GB, free: 37.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/1.411, allocations: 1.269 MB / 0.8447 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/1.414, allocations: 486.7 kB / 0.8451 GB, free: 36.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3481/1.762, allocations: 144 MB / 0.9858 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006236/1.768, allocations: 3.681 MB / 0.9894 GB, free: 74.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006792/1.775, allocations: 2.057 MB / 0.9914 GB, free: 74.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004645/1.78, allocations: 2.214 MB / 0.9935 GB, free: 74.75 MB / 0.5261 GB Notification: Performance of SimCode: time 9.21e-07/1.78, allocations: 0 / 0.9935 GB, free: 74.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/1.912, allocations: 88.11 MB / 1.08 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/1.912, allocations: 190.8 kB / 1.08 GB, free: 24.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.353/7.265, allocations: 0 / 1.08 GB, free: 24.1 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat