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.001304/0.001304, allocations: 179.9 kB / 14.15 MB, free: 1.176 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.484/1.484, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009443, allocations: 94.02 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1835/0.1835, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.929e-05, allocations: 224 / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.563, allocations: 87.22 MB / 0.587 GB, free: 2.043 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.5632, allocations: 67.95 kB / 0.587 GB, free: 1.977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01907/0.5823, allocations: 7.302 MB / 0.5942 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5823, allocations: 0 / 0.5942 GB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.5824, allocations: 8 kB / 0.5942 GB, free: 10.68 MB / 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.000791/0.5832, allocations: 0.6075 MB / 0.5948 GB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5832, allocations: 12.02 kB / 0.5948 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.297e-05/0.5833, allocations: 82.53 kB / 0.5949 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.521e-05/0.5834, allocations: 51.44 kB / 0.5949 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.5836, allocations: 222.3 kB / 0.5951 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.5836, allocations: 37.34 kB / 0.5952 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.5837, allocations: 55.86 kB / 0.5952 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000698/0.5844, allocations: 438.5 kB / 0.5956 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.5845, allocations: 15.89 kB / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.5845, allocations: 16 kB / 0.5957 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.5845, allocations: 16 kB / 0.5957 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.5849, allocations: 247.8 kB / 0.5959 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.5872, allocations: 1.711 MB / 0.5976 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.5876, allocations: 399.5 kB / 0.598 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.5879, allocations: 163.2 kB / 0.5981 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.5879, allocations: 4 kB / 0.5981 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.5879, allocations: 50.48 kB / 0.5982 GB, free: 6.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.984e-06/0.588, allocations: 0 / 0.5982 GB, free: 6.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005945/0.5886, allocations: 277 kB / 0.5984 GB, free: 5.977 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.5887, allocations: 277 kB / 0.5987 GB, free: 5.645 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.5889, allocations: 215.2 kB / 0.5989 GB, free: 5.422 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.589, allocations: 33.7 kB / 0.5989 GB, free: 5.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.5891, allocations: 243.6 kB / 0.5992 GB, free: 5.141 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.5893, allocations: 177.4 kB / 0.5993 GB, free: 4.965 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.5893, allocations: 16 kB / 0.5994 GB, free: 4.949 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5895, allocations: 350.8 kB / 0.5997 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.5896, allocations: 109.6 kB / 0.5998 GB, free: 4.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.59, allocations: 407.5 kB / 0.6002 GB, free: 3.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.5903, allocations: 176 kB / 0.6003 GB, free: 3.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.5903, allocations: 4 kB / 0.6004 GB, free: 3.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007847/0.5911, allocations: 0.5553 MB / 0.6009 GB, free: 3.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5912, allocations: 8 kB / 0.6009 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.5912, allocations: 12 kB / 0.6009 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.5912, allocations: 16.72 kB / 0.6009 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.5918, allocations: 183.7 kB / 0.6011 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/0.5918, allocations: 19.92 kB / 0.6011 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.5921, allocations: 67.33 kB / 0.6012 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.5921, allocations: 32 kB / 0.6012 GB, free: 2.887 MB / 410.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 () * 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.0001275/0.5922, allocations: 154.7 kB / 0.6014 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.5924, allocations: 35.62 kB / 0.6014 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.982e-05/0.5925, allocations: 41.83 kB / 0.6014 GB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.5925, allocations: 11.77 kB / 0.6014 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.5926, allocations: 4 kB / 0.6015 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.5926, allocations: 11.98 kB / 0.6015 GB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009471/0.5935, allocations: 417.1 kB / 0.6019 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5935, allocations: 4 kB / 0.6019 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.5941, allocations: 124.1 kB / 0.602 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.5941, allocations: 4 kB / 0.602 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.5942, allocations: 16 kB / 0.602 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.5942, allocations: 7.938 kB / 0.602 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5942, allocations: 4 kB / 0.602 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/0.595, allocations: 1.165 MB / 0.6032 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.5951, allocations: 112.6 kB / 0.6033 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.5952, allocations: 15.98 kB / 0.6033 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.5956, allocations: 11.95 kB / 0.6033 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.5956, allocations: 31.97 kB / 0.6033 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.5956, allocations: 12 kB / 0.6033 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.5958, allocations: 171.1 kB / 0.6035 GB, free: 420 kB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5958, allocations: 0 / 0.6035 GB, free: 420 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007689/0.5966, allocations: 135.7 kB / 0.6036 GB, free: 284 kB / 410.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 () * 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.001319/0.5979, allocations: 2.276 MB / 0.6058 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006148/0.5985, allocations: 333.5 kB / 0.6062 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5985, allocations: 0.75 kB / 0.6062 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.5987, allocations: 124.1 kB / 0.6063 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.5995, allocations: 77.92 kB / 0.6064 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.603, allocations: 2.141 MB / 0.6084 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.6035, allocations: 0.8395 MB / 0.6093 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.6037, allocations: 48.16 kB / 0.6093 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.6039, allocations: 147.4 kB / 0.6095 GB, free: 10.16 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6039, allocations: 0 / 0.6095 GB, free: 10.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.627, allocations: 7.47 MB / 0.6167 GB, free: 2.844 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/0.6273, allocations: 164.3 kB / 0.6169 GB, free: 2.621 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/2.894, allocations: 4 kB / 0.6169 GB, free: 2.617 MB / 426.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