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.0008692/0.0008693, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.204/1.204, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007247/0.0007247, allocations: 87.88 kB / 271.2 MB, free: 8.254 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.3012/0.3012, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 16 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09704, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004996/0.1021, allocations: 4.52 MB / 495.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.1049, allocations: 1.492 MB / 496.9 MB, free: 4.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004729/0.1054, allocations: 20 kB / 497 MB, free: 4.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005398/0.106, allocations: 167 kB / 497.1 MB, free: 4.566 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000807/0.1068, allocations: 250.4 kB / 497.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.108, allocations: 0.5493 MB / 497.9 MB, free: 3.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008282/0.1088, allocations: 0.7346 MB / 498.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.111, allocations: 1.355 MB / 0.4883 GB, free: 1.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/0.1113, allocations: 274.9 kB / 0.4885 GB, free: 1.371 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.1118, allocations: 390.5 kB / 0.4889 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.845e-05/0.1118, allocations: 40 kB / 0.489 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.1123, allocations: 147.8 kB / 0.4891 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.455e-05/0.1124, allocations: 127.5 kB / 0.4892 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.1127, allocations: 387.9 kB / 0.4896 GB, free: 300 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1607/0.2734, allocations: 0.8721 MB / 0.4904 GB, free: 36.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2734, allocations: 3.719 kB / 0.4904 GB, free: 36.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.2735, allocations: 0 / 0.4904 GB, free: 36.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.341e-05/0.2735, allocations: 3.75 kB / 0.4904 GB, free: 36.67 MB / 378.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.002973/0.2765, allocations: 1.203 MB / 0.4916 GB, free: 36.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2765, allocations: 9.312 kB / 0.4916 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.2767, allocations: 151.8 kB / 0.4918 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.278, allocations: 231 kB / 0.492 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.2781, allocations: 252.8 kB / 0.4922 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.2783, allocations: 82.86 kB / 0.4923 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.2784, allocations: 101.4 kB / 0.4924 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.28, allocations: 0.9225 MB / 0.4933 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/0.28, allocations: 7.125 kB / 0.4933 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.311e-05/0.2801, allocations: 42.47 kB / 0.4934 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.2801, allocations: 24.59 kB / 0.4934 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.2813, allocations: 0.7175 MB / 0.4941 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.2853, allocations: 3.955 MB / 0.4979 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.2869, allocations: 3.368 MB / 0.5012 GB, free: 30.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.2873, allocations: 293 kB / 0.5015 GB, free: 30.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.589e-05/0.2873, allocations: 96.36 kB / 0.5016 GB, free: 30.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2874, allocations: 46.89 kB / 0.5017 GB, free: 30.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.485e-06/0.2874, allocations: 0.5625 kB / 0.5017 GB, free: 30.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002328/0.2897, allocations: 1.345 MB / 0.503 GB, free: 29.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2898, allocations: 135.4 kB / 0.5031 GB, free: 29.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.2901, allocations: 311.3 kB / 0.5034 GB, free: 29.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.2901, allocations: 37.39 kB / 0.5034 GB, free: 29.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.2902, allocations: 397.6 kB / 0.5038 GB, free: 29.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.696e-05/0.2903, allocations: 236.2 kB / 0.504 GB, free: 28.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.2904, allocations: 20.56 kB / 0.5041 GB, free: 28.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.2904, allocations: 353.9 kB / 0.5044 GB, free: 28.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.2907, allocations: 203.3 kB / 0.5046 GB, free: 28.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.2911, allocations: 393.2 kB / 0.505 GB, free: 28.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006171/0.2917, allocations: 0.6216 MB / 0.5056 GB, free: 28.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.2917, allocations: 4 kB / 0.5056 GB, free: 28.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001149/0.2928, allocations: 0.8748 MB / 0.5064 GB, free: 28.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2929, allocations: 11.84 kB / 0.5064 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2929, allocations: 8.094 kB / 0.5064 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005189/0.2934, allocations: 217 kB / 0.5067 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.2938, allocations: 140.3 kB / 0.5068 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.2975, allocations: 6.233 MB / 0.5129 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.298, allocations: 88.03 kB / 0.513 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.298, allocations: 37.09 kB / 0.513 GB, free: 22.87 MB / 378.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.0002791/0.2983, allocations: 225.8 kB / 0.5132 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2984, allocations: 45.81 kB / 0.5133 GB, free: 22.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2995, allocations: 0.6873 MB / 0.5139 GB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.2995, allocations: 9.875 kB / 0.5139 GB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2995, allocations: 8.469 kB / 0.5139 GB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2995, allocations: 8.5 kB / 0.5139 GB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.3016, allocations: 1.564 MB / 0.5155 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3016, allocations: 5.969 kB / 0.5155 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.3018, allocations: 64.14 kB / 0.5155 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.3023, allocations: 220.9 kB / 0.5158 GB, free: 21.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.3023, allocations: 14.59 kB / 0.5158 GB, free: 21.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003355/0.3057, allocations: 6.226 MB / 0.5218 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3057, allocations: 3.25 kB / 0.5218 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.3072, allocations: 1.175 MB / 0.523 GB, free: 31.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3073, allocations: 131.4 kB / 0.5231 GB, free: 30.92 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.3073, allocations: 14.23 kB / 0.5231 GB, free: 30.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.3077, allocations: 21.91 kB / 0.5232 GB, free: 30.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3078, allocations: 55.02 kB / 0.5232 GB, free: 30.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.3078, allocations: 18.66 kB / 0.5232 GB, free: 30.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.308, allocations: 213.3 kB / 0.5234 GB, free: 30.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.308, allocations: 0.6562 kB / 0.5234 GB, free: 30.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008438/0.3089, allocations: 269.4 kB / 0.5237 GB, free: 30.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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.001517/0.3104, allocations: 1.759 MB / 0.5254 GB, free: 29.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.3116, allocations: 1.073 MB / 0.5265 GB, free: 28.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3117, allocations: 0 / 0.5265 GB, free: 28.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006903/0.3124, allocations: 0.7831 MB / 0.5272 GB, free: 28.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.313, allocations: 44.95 kB / 0.5273 GB, free: 28.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.3167, allocations: 3.302 MB / 0.5305 GB, free: 26.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.3171, allocations: 0.9081 MB / 0.5314 GB, free: 25.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.3173, allocations: 239.4 kB / 0.5316 GB, free: 25.23 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3174, allocations: 3.438 kB / 0.5316 GB, free: 25.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.946/4.263, allocations: 21.5 MB / 0.5526 GB, free: 18.81 MB / 394.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) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches