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.001638/0.001637, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.688/1.688, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008296/0.0008296, allocations: 85.56 kB / 267.1 MB, free: 9.277 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.4403/0.4403, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.802e-05/5.817e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1447, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.481/0.6257, allocations: 94.86 MB / 0.5655 GB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.6261, allocations: 77.02 kB / 0.5656 GB, free: 10.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2599/0.886, allocations: 90.73 MB / 0.6542 GB, free: 8.785 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.886, allocations: 0 / 0.6542 GB, free: 8.785 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006798/0.8867, allocations: 96 kB / 0.6543 GB, free: 8.691 MB / 474.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.06884/0.9556, allocations: 9.673 MB / 0.6637 GB, free: 14.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.9557, allocations: 12.03 kB / 0.6638 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005665/0.9614, allocations: 0.8415 MB / 0.6646 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.9735, allocations: 2.079 MB / 0.6666 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.9857, allocations: 3.411 MB / 0.6699 GB, free: 8.523 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005426/0.9863, allocations: 349.1 kB / 0.6703 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00434/0.9907, allocations: 479.6 kB / 0.6707 GB, free: 7.711 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05382/1.045, allocations: 15.33 MB / 0.6857 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004748/1.045, allocations: 71.3 kB / 0.6858 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003143/1.048, allocations: 215.9 kB / 0.686 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002905/1.051, allocations: 1.117 MB / 0.6871 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3962/1.447, allocations: 15.18 MB / 0.7019 GB, free: 90.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07728/1.525, allocations: 55.63 MB / 0.7562 GB, free: 61.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04481/1.57, allocations: 7.211 MB / 0.7633 GB, free: 60.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006434/1.576, allocations: 2.816 MB / 0.766 GB, free: 59.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/1.587, allocations: 6.57 MB / 0.7724 GB, free: 55.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/1.587, allocations: 55.47 kB / 0.7725 GB, free: 55.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 6.943e-06/1.587, allocations: 0 / 0.7725 GB, free: 55.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.00521/1.592, allocations: 2.687 MB / 0.7751 GB, free: 54.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/1.592, allocations: 149.2 kB / 0.7752 GB, free: 53.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009378/1.602, allocations: 4.242 MB / 0.7794 GB, free: 52.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000406/1.602, allocations: 47.39 kB / 0.7794 GB, free: 52.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002901/1.605, allocations: 3.596 MB / 0.7829 GB, free: 49.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001415/1.606, allocations: 0.7207 MB / 0.7837 GB, free: 49.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/1.607, allocations: 137.4 kB / 0.7838 GB, free: 49.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004067/1.607, allocations: 0.5865 MB / 0.7844 GB, free: 48.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003563/1.611, allocations: 2.164 MB / 0.7865 GB, free: 48.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005018/1.616, allocations: 6.428 MB / 0.7927 GB, free: 41.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005439/1.621, allocations: 3.707 MB / 0.7964 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.816e-05/1.621, allocations: 45.22 kB / 0.7964 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01476/1.636, allocations: 8.389 MB / 0.8046 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.72e-05/1.636, allocations: 69.66 kB / 0.8047 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/1.636, allocations: 150.6 kB / 0.8048 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/1.637, allocations: 224.9 kB / 0.805 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005535/1.642, allocations: 1.622 MB / 0.8066 GB, free: 36.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001994/1.642, allocations: 297.5 kB / 0.8069 GB, free: 36.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006242/1.649, allocations: 0.9358 MB / 0.8078 GB, free: 36.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008953/1.65, allocations: 446.9 kB / 0.8082 GB, free: 36.2 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 () * 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.0009445/1.651, allocations: 0.6324 MB / 0.8089 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008055/1.651, allocations: 399.1 kB / 0.8092 GB, free: 35.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004024/1.655, allocations: 2.529 MB / 0.8117 GB, free: 34.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/1.656, allocations: 20.25 kB / 0.8117 GB, free: 34.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.656, allocations: 3.781 kB / 0.8117 GB, free: 34.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/1.656, allocations: 10.36 kB / 0.8117 GB, free: 34.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007555/1.663, allocations: 4.286 MB / 0.8159 GB, free: 32.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/1.663, allocations: 3.594 kB / 0.8159 GB, free: 32.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/1.665, allocations: 344.8 kB / 0.8163 GB, free: 32.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/1.665, allocations: 3.781 kB / 0.8163 GB, free: 32.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/1.665, allocations: 38.73 kB / 0.8163 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/1.665, allocations: 7.781 kB / 0.8163 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.665, allocations: 4 kB / 0.8163 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/1.671, allocations: 4.859 MB / 0.821 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/1.672, allocations: 0.4986 MB / 0.8215 GB, free: 30.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/1.673, allocations: 30.88 kB / 0.8216 GB, free: 30.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.675, allocations: 63.16 kB / 0.8216 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/1.675, allocations: 97.72 kB / 0.8217 GB, free: 30.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.675, allocations: 44.92 kB / 0.8218 GB, free: 30.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005181/1.68, allocations: 2.95 MB / 0.8246 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.4e-07/1.68, allocations: 0 / 0.8246 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006966/1.687, allocations: 1.352 MB / 0.826 GB, free: 28.86 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.006289/1.693, allocations: 5.67 MB / 0.8315 GB, free: 26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008526/1.702, allocations: 4.951 MB / 0.8363 GB, free: 23.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.702, allocations: 0 / 0.8363 GB, free: 23.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/1.704, allocations: 1.259 MB / 0.8376 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/1.707, allocations: 488.6 kB / 0.838 GB, free: 22.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/1.732, allocations: 10.31 MB / 0.8481 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004164/1.736, allocations: 3.688 MB / 0.8517 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006093/1.743, allocations: 2.052 MB / 0.8537 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004285/1.747, allocations: 2.214 MB / 0.8559 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of SimCode: time 1.813e-06/1.747, allocations: 0 / 0.8559 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.508/2.255, allocations: 88.14 MB / 0.9419 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/2.255, allocations: 161.5 kB / 0.9421 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.676/7.931, allocations: 0 / 0.9421 GB, free: 91.57 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