Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008922/0.0008922, allocations: 91.39 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3672/0.3672, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.000402, allocations: 8 kB / 460 MB, free: 1.465 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4326, allocations: 61.9 MB / 0.5096 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.5609, allocations: 87.3 MB / 0.5949 GB, free: 7.734 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5613, allocations: 71.92 kB / 0.595 GB, free: 7.668 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01887/0.5802, allocations: 7.287 MB / 0.6021 GB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5803, allocations: 0 / 0.6021 GB, free: 384 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.5803, allocations: 8 kB / 0.6021 GB, free: 376 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009311/0.5813, allocations: 0.6315 MB / 0.6027 GB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.5813, allocations: 8.031 kB / 0.6027 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.5814, allocations: 90.52 kB / 0.6028 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.688e-05/0.5815, allocations: 51.34 kB / 0.6028 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.5817, allocations: 216.2 kB / 0.603 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.5818, allocations: 33.34 kB / 0.6031 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.134e-05/0.5819, allocations: 63.86 kB / 0.6031 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.5826, allocations: 454 kB / 0.6036 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.5826, allocations: 7.906 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.5827, allocations: 20 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.5827, allocations: 16 kB / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.5832, allocations: 258.1 kB / 0.6039 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.5854, allocations: 1.703 MB / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.5859, allocations: 416.5 kB / 0.6059 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.586, allocations: 8.156 kB / 0.6059 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.586, allocations: 62.47 kB / 0.606 GB, free: 12.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 2.855e-06/0.586, allocations: 0 / 0.606 GB, free: 12.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007556/0.5868, allocations: 344.9 kB / 0.6063 GB, free: 11.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/0.587, allocations: 277.4 kB / 0.6066 GB, free: 11.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.5873, allocations: 221.8 kB / 0.6068 GB, free: 11.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.5873, allocations: 33.7 kB / 0.6068 GB, free: 11.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.5875, allocations: 235.6 kB / 0.607 GB, free: 10.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.5877, allocations: 181.5 kB / 0.6072 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.5877, allocations: 16 kB / 0.6072 GB, free: 10.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5879, allocations: 346.8 kB / 0.6076 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.5881, allocations: 114 kB / 0.6077 GB, free: 10.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/0.5886, allocations: 409.6 kB / 0.6081 GB, free: 9.703 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.5889, allocations: 183.8 kB / 0.6082 GB, free: 9.523 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.5889, allocations: 8 kB / 0.6082 GB, free: 9.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008082/0.5897, allocations: 0.5562 MB / 0.6088 GB, free: 8.953 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.5898, allocations: 12.97 kB / 0.6088 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.5898, allocations: 8.078 kB / 0.6088 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.161e-05/0.5898, allocations: 27.92 kB / 0.6088 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.5904, allocations: 183.7 kB / 0.609 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/0.5905, allocations: 27.91 kB / 0.609 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.5908, allocations: 71.23 kB / 0.6091 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.5908, allocations: 32 kB / 0.6091 GB, free: 8.598 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * 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.0002215/0.591, allocations: 182.1 kB / 0.6093 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.5912, allocations: 39.62 kB / 0.6093 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-05/0.5913, allocations: 37.7 kB / 0.6094 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.5913, allocations: 12 kB / 0.6094 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.5913, allocations: 0.625 kB / 0.6094 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.5914, allocations: 7.984 kB / 0.6094 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009666/0.5923, allocations: 421.1 kB / 0.6098 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.5923, allocations: 0 / 0.6098 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.5929, allocations: 127.9 kB / 0.6099 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.5929, allocations: 4 kB / 0.6099 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.593, allocations: 11.94 kB / 0.6099 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.593, allocations: 4 kB / 0.6099 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.593, allocations: 7.938 kB / 0.61 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/0.5939, allocations: 1.175 MB / 0.6111 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.594, allocations: 116.6 kB / 0.6112 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.5941, allocations: 16 kB / 0.6112 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.5945, allocations: 12 kB / 0.6112 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.5945, allocations: 27.92 kB / 0.6113 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.5946, allocations: 19.98 kB / 0.6113 GB, free: 6.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.5947, allocations: 166 kB / 0.6114 GB, free: 6.082 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5947, allocations: 0 / 0.6114 GB, free: 6.082 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007908/0.5955, allocations: 135.7 kB / 0.6116 GB, free: 5.949 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * 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.001556/0.5971, allocations: 2.277 MB / 0.6138 GB, free: 3.609 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006234/0.5977, allocations: 333.5 kB / 0.6141 GB, free: 3.285 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5978, allocations: 4.125 kB / 0.6141 GB, free: 3.281 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.5979, allocations: 135.7 kB / 0.6142 GB, free: 3.148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008581/0.5988, allocations: 78.41 kB / 0.6143 GB, free: 3.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/0.6075, allocations: 10.48 MB / 0.6246 GB, free: 8.328 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.608, allocations: 0.8395 MB / 0.6254 GB, free: 7.461 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.6082, allocations: 52.14 kB / 0.6254 GB, free: 7.406 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.6084, allocations: 143.4 kB / 0.6256 GB, free: 7.266 MB / 442.7 MB Notification: Performance of SimCode: time 2.114e-06/0.6084, allocations: 0 / 0.6256 GB, free: 7.266 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.6298, allocations: 7.483 MB / 0.6329 GB, free: 15.96 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.63, allocations: 201.7 kB / 0.6331 GB, free: 15.72 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/2.879, allocations: 0 / 0.6331 GB, free: 15.72 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat