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.002447/0.002446, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 93 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2928/0.2928, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.473e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4177, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.5902, allocations: 90.86 MB / 0.5547 GB, free: 8.336 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.5906, allocations: 83.89 kB / 0.5548 GB, free: 8.254 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.101/0.6916, allocations: 26.63 MB / 0.5808 GB, free: 13.27 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6917, allocations: 0 / 0.5808 GB, free: 13.27 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.79e-05/0.6917, allocations: 16 kB / 0.5808 GB, free: 13.26 MB / 427.1 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.003863/0.6956, allocations: 1.038 MB / 0.5818 GB, free: 12.18 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.6957, allocations: 8.031 kB / 0.5819 GB, free: 12.17 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.6978, allocations: 230.8 kB / 0.5821 GB, free: 11.94 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.6983, allocations: 246.6 kB / 0.5823 GB, free: 11.66 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.6985, allocations: 50 kB / 0.5824 GB, free: 11.61 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.6987, allocations: 59.98 kB / 0.5824 GB, free: 11.55 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001982/0.7007, allocations: 0.6366 MB / 0.583 GB, free: 10.91 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.7029, allocations: 0.7683 MB / 0.5838 GB, free: 10.12 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/0.703, allocations: 3.906 kB / 0.5838 GB, free: 10.12 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.713e-05/0.7031, allocations: 0 / 0.5838 GB, free: 10.12 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/0.7032, allocations: 28 kB / 0.5838 GB, free: 10.09 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008145/0.7113, allocations: 3.789 MB / 0.5875 GB, free: 5.984 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/0.7151, allocations: 3.324 MB / 0.5908 GB, free: 2.008 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/0.7158, allocations: 265.5 kB / 0.591 GB, free: 1.742 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.716, allocations: 101.3 kB / 0.5911 GB, free: 1.625 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.716, allocations: 42.89 kB / 0.5912 GB, free: 1.574 MB / 427.1 MB Notification: Performance of pre-optimization done (n=66): time 4.138e-06/0.7161, allocations: 0 / 0.5912 GB, free: 1.574 MB / 427.1 MB Notification: Performance of matching and sorting (n=66): time 0.002543/0.7186, allocations: 0.6659 MB / 0.5918 GB, free: 0.8906 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.812e-05/0.7187, allocations: 144.5 kB / 0.5919 GB, free: 0.7188 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/0.7192, allocations: 242.2 kB / 0.5922 GB, free: 492 kB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.7192, allocations: 25.7 kB / 0.5922 GB, free: 460 kB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.7196, allocations: 468.7 kB / 0.5926 GB, free: 15.98 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.7199, allocations: 216.8 kB / 0.5929 GB, free: 15.77 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.7199, allocations: 0 / 0.5929 GB, free: 15.77 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.7201, allocations: 346.8 kB / 0.5932 GB, free: 15.42 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.7206, allocations: 166.6 kB / 0.5933 GB, free: 15.26 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.7213, allocations: 365.2 kB / 0.5937 GB, free: 14.82 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.7226, allocations: 336.5 kB / 0.594 GB, free: 14.49 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.7226, allocations: 4 kB / 0.594 GB, free: 14.49 MB / 443.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002903/0.7256, allocations: 0.8543 MB / 0.5949 GB, free: 13.61 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.7256, allocations: 8 kB / 0.5949 GB, free: 13.61 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.7256, allocations: 8 kB / 0.5949 GB, free: 13.6 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.7267, allocations: 211.3 kB / 0.5951 GB, free: 13.38 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/0.7277, allocations: 143.8 kB / 0.5952 GB, free: 13.24 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007683/0.7354, allocations: 5.955 MB / 0.601 GB, free: 6.816 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009333/0.7364, allocations: 67.69 kB / 0.6011 GB, free: 6.75 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-05/0.7365, allocations: 39.92 kB / 0.6011 GB, free: 6.711 MB / 443.1 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.0002157/0.7367, allocations: 124.8 kB / 0.6012 GB, free: 6.582 MB / 443.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002495/0.7392, allocations: 0.658 MB / 0.6019 GB, free: 5.906 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.7394, allocations: 47.48 kB / 0.6019 GB, free: 5.859 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.742, allocations: 0.7114 MB / 0.6026 GB, free: 5.133 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.7421, allocations: 15.92 kB / 0.6026 GB, free: 5.117 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.7421, allocations: 4 kB / 0.6026 GB, free: 5.113 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.7421, allocations: 7.984 kB / 0.6027 GB, free: 5.105 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004379/0.7465, allocations: 1.477 MB / 0.6041 GB, free: 3.566 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.7466, allocations: 0 / 0.6041 GB, free: 3.566 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/0.7471, allocations: 71.91 kB / 0.6042 GB, free: 3.496 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009417/0.748, allocations: 207.2 kB / 0.6044 GB, free: 3.281 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.7481, allocations: 4 kB / 0.6044 GB, free: 3.277 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007431/0.7555, allocations: 5.936 MB / 0.6102 GB, free: 12.88 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.7556, allocations: 4.031 kB / 0.6102 GB, free: 12.88 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/0.7588, allocations: 1.245 MB / 0.6114 GB, free: 11.58 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.759, allocations: 128.6 kB / 0.6115 GB, free: 11.44 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.7591, allocations: 8 kB / 0.6115 GB, free: 11.43 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005415/0.7596, allocations: 7.984 kB / 0.6115 GB, free: 11.42 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.7598, allocations: 55.95 kB / 0.6116 GB, free: 11.37 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.7599, allocations: 19.98 kB / 0.6116 GB, free: 11.35 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0002749/0.7602, allocations: 174 kB / 0.6118 GB, free: 11.18 MB / 459.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7602, allocations: 0 / 0.6118 GB, free: 11.18 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.001424/0.7616, allocations: 243.2 kB / 0.612 GB, free: 10.94 MB / 459.1 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.003736/0.7654, allocations: 2.03 MB / 0.614 GB, free: 8.859 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.7676, allocations: 0.9775 MB / 0.6149 GB, free: 7.844 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7677, allocations: 0 / 0.6149 GB, free: 7.844 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.769, allocations: 0.7184 MB / 0.6156 GB, free: 7.086 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.7696, allocations: 28.48 kB / 0.6157 GB, free: 7.059 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.7737, allocations: 1.068 MB / 0.6167 GB, free: 5.93 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008261/0.7746, allocations: 0.9267 MB / 0.6176 GB, free: 4.977 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005788/0.7752, allocations: 247.3 kB / 0.6178 GB, free: 4.734 MB / 459.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7752, allocations: 0 / 0.6178 GB, free: 4.734 MB / 459.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.068/3.843, allocations: 21.16 MB / 0.6385 GB, free: 15.55 MB / 491.1 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