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.001053/0.001052, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009427/0.000943, allocations: 95.33 kB / 261.8 MB, free: 1.672 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.1992/0.1992, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.467e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1248, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/0.5198, allocations: 94.2 MB / 0.558 GB, free: 1.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.52, allocations: 77.25 kB / 0.5581 GB, free: 1.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2314/0.7515, allocations: 89.22 MB / 0.6452 GB, free: 200 kB / 442.7 MB Notification: Performance of FrontEnd: time 4.899e-06/0.7516, allocations: 4 kB / 0.6452 GB, free: 196 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003647/0.7519, allocations: 99.98 kB / 0.6453 GB, free: 96 kB / 442.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.06421/0.8162, allocations: 9.663 MB / 0.6548 GB, free: 6.355 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.8162, allocations: 8.031 kB / 0.6548 GB, free: 6.348 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.8269, allocations: 2.076 MB / 0.6568 GB, free: 4.262 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.8374, allocations: 3.414 MB / 0.6601 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/0.8377, allocations: 148 kB / 0.6603 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003007/0.8408, allocations: 283.8 kB / 0.6605 GB, free: 376 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01939/0.8602, allocations: 9.685 MB / 0.67 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03097/0.8912, allocations: 13.18 MB / 0.6829 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003698/0.8916, allocations: 59.41 kB / 0.6829 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002712/0.8943, allocations: 28 kB / 0.6829 GB, free: 8.406 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002687/0.897, allocations: 1.12 MB / 0.684 GB, free: 7.285 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3608/1.258, allocations: 53.47 MB / 0.7363 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/1.269, allocations: 6.561 MB / 0.7427 GB, free: 90.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00467/1.273, allocations: 2.762 MB / 0.7454 GB, free: 90.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009446/1.283, allocations: 6.426 MB / 0.7516 GB, free: 87.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/1.283, allocations: 57.86 kB / 0.7517 GB, free: 87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 5.269e-06/1.283, allocations: 2.219 kB / 0.7517 GB, free: 87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.004004/1.287, allocations: 2.592 MB / 0.7542 GB, free: 86.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/1.287, allocations: 151.7 kB / 0.7544 GB, free: 86.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007745/1.295, allocations: 3.736 MB / 0.758 GB, free: 86.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000301/1.295, allocations: 28.52 kB / 0.758 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002501/1.297, allocations: 3.637 MB / 0.7616 GB, free: 84.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000897/1.298, allocations: 0.7041 MB / 0.7623 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005374/1.299, allocations: 0 / 0.7623 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005554/1.3, allocations: 0.5956 MB / 0.7629 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003356/1.303, allocations: 2.071 MB / 0.7649 GB, free: 83.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0053/1.308, allocations: 6.444 MB / 0.7712 GB, free: 78.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005484/1.314, allocations: 3.629 MB / 0.7747 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002702/1.314, allocations: 43.81 kB / 0.7748 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.014/1.328, allocations: 7.577 MB / 0.7822 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/1.328, allocations: 71.56 kB / 0.7822 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002176/1.328, allocations: 157.3 kB / 0.7824 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/1.329, allocations: 234.5 kB / 0.7826 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005392/1.334, allocations: 1.665 MB / 0.7842 GB, free: 74.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001931/1.334, allocations: 307.8 kB / 0.7845 GB, free: 74.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00562/1.34, allocations: 0.7723 MB / 0.7853 GB, free: 74.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/1.341, allocations: 454.8 kB / 0.7857 GB, free: 74.39 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (873): * Single equations (assignments): 870 * 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.001689/1.343, allocations: 0.4925 MB / 0.7862 GB, free: 73.98 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003749/1.347, allocations: 2.597 MB / 0.7887 GB, free: 73.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006898/1.348, allocations: 374.3 kB / 0.7891 GB, free: 72.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/1.351, allocations: 2.39 MB / 0.7914 GB, free: 71.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-05/1.351, allocations: 21.16 kB / 0.7914 GB, free: 71.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/1.351, allocations: 3.938 kB / 0.7915 GB, free: 71.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/1.351, allocations: 5.766 kB / 0.7915 GB, free: 71.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007547/1.359, allocations: 3.204 MB / 0.7946 GB, free: 70.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/1.359, allocations: 1.75 kB / 0.7946 GB, free: 70.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003516/1.362, allocations: 348.9 kB / 0.7949 GB, free: 70.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.072e-05/1.363, allocations: 3.812 kB / 0.7949 GB, free: 70.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003911/1.363, allocations: 21.16 kB / 0.7949 GB, free: 70.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.652e-05/1.363, allocations: 7.812 kB / 0.795 GB, free: 70.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.363, allocations: 3.391 kB / 0.795 GB, free: 70.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009601/1.373, allocations: 4.695 MB / 0.7995 GB, free: 68.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.374, allocations: 461.1 kB / 0.8 GB, free: 68.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/1.376, allocations: 11.45 kB / 0.8 GB, free: 68.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/1.379, allocations: 37.23 kB / 0.8 GB, free: 68.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003866/1.379, allocations: 92.92 kB / 0.8001 GB, free: 68.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003201/1.38, allocations: 51.53 kB / 0.8002 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007718/1.387, allocations: 2.505 MB / 0.8026 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.342e-06/1.387, allocations: 0 / 0.8026 GB, free: 67.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01015/1.398, allocations: 1.239 MB / 0.8038 GB, free: 67.04 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 () * 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.007185/1.405, allocations: 5.491 MB / 0.8092 GB, free: 64.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007379/1.412, allocations: 4.66 MB / 0.8137 GB, free: 61.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.412, allocations: 0 / 0.8137 GB, free: 61.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/1.414, allocations: 1.225 MB / 0.8149 GB, free: 60.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/1.417, allocations: 385.6 kB / 0.8153 GB, free: 60.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02166/1.438, allocations: 10.07 MB / 0.8251 GB, free: 51.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003377/1.442, allocations: 3.674 MB / 0.8287 GB, free: 48.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005085/1.447, allocations: 2.089 MB / 0.8308 GB, free: 47.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002581/1.45, allocations: 2.19 MB / 0.8329 GB, free: 45.26 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/1.45, allocations: 4 kB / 0.8329 GB, free: 45.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3892/1.839, allocations: 80.21 MB / 0.9112 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001305/1.839, allocations: 149.4 kB / 0.9114 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.845/6.684, allocations: 0.5 kB / 0.9114 GB, free: 114.2 MB / 0.5105 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