Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",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.001299/0.001299, allocations: 182.2 kB / 15.76 MB, free: 6.367 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.599/1.599, 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.0009205/0.0009205, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2097/0.2097, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.0003081, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 58.84 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4238/0.551, allocations: 91.62 MB / 0.5683 GB, free: 8.113 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/0.5514, allocations: 82.39 kB / 0.5684 GB, free: 8.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09439/0.6458, allocations: 27 MB / 0.5948 GB, free: 2.188 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6458, allocations: 8 kB / 0.5948 GB, free: 2.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.638e-05/0.6459, allocations: 12 kB / 0.5948 GB, free: 2.168 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.0033/0.6492, allocations: 1.059 MB / 0.5958 GB, free: 1.152 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.6493, allocations: 8.031 kB / 0.5958 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000261/0.6495, allocations: 152.2 kB / 0.596 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.6512, allocations: 232.8 kB / 0.5962 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.6516, allocations: 249.8 kB / 0.5964 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.6518, allocations: 85.67 kB / 0.5965 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.652, allocations: 98.66 kB / 0.5966 GB, free: 452 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.6534, allocations: 0.9215 MB / 0.5975 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.6535, allocations: 0 / 0.5975 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.09e-05/0.6535, allocations: 38.81 kB / 0.5976 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.6536, allocations: 27.98 kB / 0.5976 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.6547, allocations: 0.7391 MB / 0.5983 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004631/0.6593, allocations: 3.943 MB / 0.6022 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.6619, allocations: 3.365 MB / 0.6054 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.375e-05/0.662, allocations: 92.69 kB / 0.6055 GB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.662, allocations: 46.06 kB / 0.6056 GB, free: 7.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 2.044e-06/0.662, allocations: 0 / 0.6056 GB, free: 7.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.002524/0.6646, allocations: 1.308 MB / 0.6069 GB, free: 6.699 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.6647, allocations: 143.2 kB / 0.607 GB, free: 6.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.665, allocations: 283.4 kB / 0.6073 GB, free: 6.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.6651, allocations: 43.69 kB / 0.6073 GB, free: 6.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.6653, allocations: 393.3 kB / 0.6077 GB, free: 5.914 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.6655, allocations: 236.2 kB / 0.6079 GB, free: 5.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.6655, allocations: 17.12 kB / 0.6079 GB, free: 5.707 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.6657, allocations: 351.6 kB / 0.6083 GB, free: 5.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.666, allocations: 196.5 kB / 0.6084 GB, free: 5.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.6665, allocations: 390.9 kB / 0.6088 GB, free: 4.875 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.6669, allocations: 259.2 kB / 0.6091 GB, free: 4.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.667, allocations: 4 kB / 0.6091 GB, free: 4.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001413/0.6684, allocations: 0.867 MB / 0.6099 GB, free: 4.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.6684, allocations: 8 kB / 0.6099 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.6684, allocations: 12.03 kB / 0.6099 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.6691, allocations: 221.9 kB / 0.6101 GB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.6695, allocations: 143 kB / 0.6103 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005407/0.675, allocations: 6.314 MB / 0.6164 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.6755, allocations: 83.06 kB / 0.6165 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.6756, allocations: 39.98 kB / 0.6166 GB, free: 13.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000423/0.676, allocations: 217.7 kB / 0.6168 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.6761, allocations: 39.53 kB / 0.6168 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.6773, allocations: 0.6913 MB / 0.6175 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.6774, allocations: 11.98 kB / 0.6175 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6774, allocations: 4 kB / 0.6175 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.6774, allocations: 4.922 kB / 0.6175 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.6797, allocations: 1.551 MB / 0.619 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6797, allocations: 4 kB / 0.619 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.68, allocations: 71.86 kB / 0.6191 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005264/0.6805, allocations: 223.2 kB / 0.6193 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.6806, allocations: 12 kB / 0.6193 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005369/0.6859, allocations: 6.292 MB / 0.6255 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.686, allocations: 0 / 0.6255 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.6875, allocations: 1.214 MB / 0.6266 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.6877, allocations: 132.5 kB / 0.6268 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.6877, allocations: 12 kB / 0.6268 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.6881, allocations: 12 kB / 0.6268 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.363e-05/0.6882, allocations: 63.88 kB / 0.6269 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.6882, allocations: 20 kB / 0.6269 GB, free: 1.934 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002722/0.6885, allocations: 209.9 kB / 0.6271 GB, free: 1.723 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6885, allocations: 0 / 0.6271 GB, free: 1.723 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001058/0.6896, allocations: 279.2 kB / 0.6273 GB, free: 1.449 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * 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): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001967/0.6915, allocations: 2.003 MB / 0.6293 GB, free: 15.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.6933, allocations: 1.069 MB / 0.6303 GB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6933, allocations: 0 / 0.6303 GB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.6943, allocations: 0.7873 MB / 0.6311 GB, free: 13.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.6948, allocations: 40.09 kB / 0.6311 GB, free: 13.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/0.702, allocations: 7.097 MB / 0.6381 GB, free: 6.121 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.7026, allocations: 0.923 MB / 0.639 GB, free: 5.172 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.7029, allocations: 68.53 kB / 0.639 GB, free: 5.102 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.7032, allocations: 231.4 kB / 0.6393 GB, free: 4.875 MB / 442.7 MB Notification: Performance of SimCode: time 7.51e-07/0.7032, allocations: 3.938 kB / 0.6393 GB, free: 4.871 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.7286, allocations: 10.68 MB / 0.6497 GB, free: 10.24 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.7289, allocations: 222.6 kB / 0.6499 GB, free: 10 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.092, allocations: 0 / 0.6499 GB, free: 10 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat