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.00154/0.00154, allocations: 182.9 kB / 13.19 MB, free: 2.121 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.602/1.602, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008378/0.0008376, allocations: 97.27 kB / 267.1 MB, free: 9.266 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.4063/0.4063, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.236e-05, allocations: 0 / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1498, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.62, allocations: 91.51 MB / 0.5623 GB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.6204, allocations: 89.7 kB / 0.5624 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05666/0.677, allocations: 26.93 MB / 0.5887 GB, free: 8.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6771, allocations: 0 / 0.5887 GB, free: 8.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.6771, allocations: 20 kB / 0.5887 GB, free: 8.18 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002486/0.6796, allocations: 1.036 MB / 0.5897 GB, free: 7.191 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.6797, allocations: 8.031 kB / 0.5897 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.6799, allocations: 150.9 kB / 0.5899 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.6816, allocations: 227.1 kB / 0.5901 GB, free: 6.891 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.6819, allocations: 261.4 kB / 0.5903 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.6821, allocations: 80.44 kB / 0.5904 GB, free: 6.547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.6823, allocations: 100.1 kB / 0.5905 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.6838, allocations: 0.8996 MB / 0.5914 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/0.6839, allocations: 3.906 kB / 0.5914 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.531e-05/0.684, allocations: 40.5 kB / 0.5914 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.684, allocations: 24 kB / 0.5914 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.6851, allocations: 0.6917 MB / 0.5921 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005242/0.6904, allocations: 3.948 MB / 0.596 GB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/0.6932, allocations: 3.358 MB / 0.5992 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.6937, allocations: 288.7 kB / 0.5995 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.6938, allocations: 97.41 kB / 0.5996 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.6938, allocations: 46.16 kB / 0.5997 GB, free: 13.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 4.278e-06/0.6938, allocations: 0 / 0.5997 GB, free: 13.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.001236/0.6951, allocations: 0.6138 MB / 0.6003 GB, free: 13.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.6952, allocations: 144.5 kB / 0.6004 GB, free: 13.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.6956, allocations: 280.1 kB / 0.6007 GB, free: 12.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.6956, allocations: 36.39 kB / 0.6007 GB, free: 12.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.6959, allocations: 402.8 kB / 0.6011 GB, free: 12.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.6961, allocations: 226.4 kB / 0.6013 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.6961, allocations: 17.31 kB / 0.6013 GB, free: 12.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6963, allocations: 345.4 kB / 0.6016 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.6966, allocations: 186.4 kB / 0.6018 GB, free: 11.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.697, allocations: 385.4 kB / 0.6022 GB, free: 11.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.6974, allocations: 252.8 kB / 0.6024 GB, free: 11.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.6974, allocations: 4 kB / 0.6024 GB, free: 11.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001348/0.6988, allocations: 0.853 MB / 0.6033 GB, free: 10.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.6988, allocations: 8 kB / 0.6033 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.6989, allocations: 11.94 kB / 0.6033 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/0.6995, allocations: 218.3 kB / 0.6035 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.7, allocations: 147 kB / 0.6036 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005639/0.7056, allocations: 6.199 MB / 0.6097 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.7063, allocations: 94.8 kB / 0.6098 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.7063, allocations: 34.48 kB / 0.6098 GB, free: 4.145 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 () * 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.000182/0.7065, allocations: 153.2 kB / 0.61 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.7067, allocations: 43.44 kB / 0.61 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.7079, allocations: 0.683 MB / 0.6107 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.708, allocations: 8 kB / 0.6107 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.708, allocations: 4 kB / 0.6107 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.708, allocations: 7.922 kB / 0.6107 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.7105, allocations: 1.55 MB / 0.6122 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.7105, allocations: 3.953 kB / 0.6122 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.7107, allocations: 63.91 kB / 0.6123 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005253/0.7113, allocations: 226.9 kB / 0.6125 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.7113, allocations: 16 kB / 0.6125 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005244/0.7166, allocations: 6.194 MB / 0.6185 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7166, allocations: 4.062 kB / 0.6185 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.7182, allocations: 1.195 MB / 0.6197 GB, free: 9.965 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.7184, allocations: 124.5 kB / 0.6198 GB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.7185, allocations: 12.06 kB / 0.6198 GB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.7188, allocations: 20 kB / 0.6199 GB, free: 9.793 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.719, allocations: 59.81 kB / 0.6199 GB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.719, allocations: 16 kB / 0.6199 GB, free: 9.719 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002574/0.7193, allocations: 207.1 kB / 0.6201 GB, free: 9.512 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7193, allocations: 0 / 0.6201 GB, free: 9.512 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001092/0.7204, allocations: 283.1 kB / 0.6204 GB, free: 9.234 MB / 442.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.002191/0.7226, allocations: 1.989 MB / 0.6223 GB, free: 7.199 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.7243, allocations: 1.058 MB / 0.6234 GB, free: 6.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.7243, allocations: 4.312 kB / 0.6234 GB, free: 6.086 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009632/0.7253, allocations: 0.7602 MB / 0.6241 GB, free: 5.273 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.7258, allocations: 39.19 kB / 0.6242 GB, free: 5.238 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.7285, allocations: 1.1 MB / 0.6252 GB, free: 4.086 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.7291, allocations: 0.9307 MB / 0.6261 GB, free: 3.129 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003231/0.7294, allocations: 64.53 kB / 0.6262 GB, free: 3.062 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.7297, allocations: 235.3 kB / 0.6264 GB, free: 2.832 MB / 442.7 MB Notification: Performance of SimCode: time 1.292e-06/0.7298, allocations: 4 kB / 0.6264 GB, free: 2.828 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.7573, allocations: 10.98 MB / 0.6372 GB, free: 7.926 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/0.7576, allocations: 196 kB / 0.6373 GB, free: 7.699 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/3.063, allocations: 0 / 0.6373 GB, free: 7.699 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