Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001613/0.001619, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001163/0.001163, allocations: 90.69 kB / 267.5 MB, free: 14.11 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.2826/0.2826, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.264e-05/4.283e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5224/0.6529, allocations: 91.53 MB / 0.5623 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.6532, allocations: 82.14 kB / 0.5624 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1067/0.7599, allocations: 26.94 MB / 0.5887 GB, free: 6.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.7599, allocations: 0 / 0.5887 GB, free: 6.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.686e-05/0.76, allocations: 12 kB / 0.5887 GB, free: 6.195 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.004031/0.764, allocations: 1.037 MB / 0.5897 GB, free: 5.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.786e-05/0.7641, allocations: 12.03 kB / 0.5897 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004507/0.7646, allocations: 155.1 kB / 0.5898 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.7669, allocations: 232.2 kB / 0.5901 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.7675, allocations: 246.6 kB / 0.5903 GB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/0.7678, allocations: 79.55 kB / 0.5904 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003953/0.7682, allocations: 103.9 kB / 0.5905 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.7709, allocations: 0.8915 MB / 0.5913 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.477e-05/0.771, allocations: 7.906 kB / 0.5914 GB, free: 3.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.7711, allocations: 41.44 kB / 0.5914 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.7712, allocations: 27.94 kB / 0.5914 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.7733, allocations: 0.6891 MB / 0.5921 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009279/0.7826, allocations: 3.954 MB / 0.596 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/0.7869, allocations: 3.362 MB / 0.5992 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008027/0.7878, allocations: 287 kB / 0.5995 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.788, allocations: 97.41 kB / 0.5996 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.7881, allocations: 53.47 kB / 0.5997 GB, free: 11.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 3.717e-06/0.7881, allocations: 0 / 0.5997 GB, free: 11.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.002112/0.7902, allocations: 0.6088 MB / 0.6002 GB, free: 11.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.7904, allocations: 140.4 kB / 0.6004 GB, free: 11.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.7909, allocations: 279.9 kB / 0.6006 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/0.791, allocations: 36.39 kB / 0.6007 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.7913, allocations: 470.2 kB / 0.6011 GB, free: 10.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.7916, allocations: 224.9 kB / 0.6013 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.7916, allocations: 14.38 kB / 0.6014 GB, free: 10.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.7918, allocations: 342.1 kB / 0.6017 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005265/0.7924, allocations: 186.3 kB / 0.6019 GB, free: 9.812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006954/0.7931, allocations: 381.5 kB / 0.6022 GB, free: 9.449 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.7938, allocations: 249.5 kB / 0.6025 GB, free: 9.285 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.7938, allocations: 4 kB / 0.6025 GB, free: 9.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002371/0.7962, allocations: 0.8384 MB / 0.6033 GB, free: 8.629 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.7962, allocations: 12.09 kB / 0.6033 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.7963, allocations: 4 kB / 0.6033 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.7973, allocations: 220.6 kB / 0.6035 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009632/0.7983, allocations: 143.4 kB / 0.6037 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008261/0.8066, allocations: 6.221 MB / 0.6097 GB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009593/0.8076, allocations: 95.05 kB / 0.6098 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.8077, allocations: 28 kB / 0.6098 GB, free: 1.855 MB / 410.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 () * 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.0002479/0.808, allocations: 156.8 kB / 0.61 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.8082, allocations: 39.53 kB / 0.61 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.8105, allocations: 0.6773 MB / 0.6107 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.8106, allocations: 8 kB / 0.6107 GB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.8106, allocations: 4 kB / 0.6107 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-05/0.8106, allocations: 11.97 kB / 0.6107 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.8147, allocations: 1.539 MB / 0.6122 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.8148, allocations: 15.89 kB / 0.6122 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/0.8153, allocations: 63.91 kB / 0.6123 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000978/0.8163, allocations: 211.2 kB / 0.6125 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.8164, allocations: 20 kB / 0.6125 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008145/0.8245, allocations: 6.206 MB / 0.6186 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8246, allocations: 0 / 0.6186 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.8273, allocations: 1.199 MB / 0.6197 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.8277, allocations: 124.5 kB / 0.6199 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.8278, allocations: 12 kB / 0.6199 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.8284, allocations: 15.98 kB / 0.6199 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.8286, allocations: 59.95 kB / 0.6199 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.8287, allocations: 19.98 kB / 0.62 GB, free: 6.781 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004018/0.8291, allocations: 203.1 kB / 0.6202 GB, free: 6.578 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8291, allocations: 0 / 0.6202 GB, free: 6.578 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001667/0.8308, allocations: 283.1 kB / 0.6204 GB, free: 6.301 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 () * 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.003521/0.8343, allocations: 1.993 MB / 0.6224 GB, free: 4.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.837, allocations: 1.055 MB / 0.6234 GB, free: 3.152 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.8371, allocations: 0 / 0.6234 GB, free: 3.152 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.8387, allocations: 0.7688 MB / 0.6242 GB, free: 2.332 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006709/0.8394, allocations: 35.12 kB / 0.6242 GB, free: 2.301 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/0.8438, allocations: 1.133 MB / 0.6253 GB, free: 1.109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/0.8447, allocations: 0.9268 MB / 0.6262 GB, free: 160 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005969/0.8453, allocations: 239.4 kB / 0.6264 GB, free: 15.92 MB / 442.7 MB Notification: Performance of SimCode: time 2.124e-06/0.8453, allocations: 0 / 0.6264 GB, free: 15.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.041/3.886, allocations: 21.2 MB / 0.6471 GB, free: 10.68 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat