Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2612/0.2612, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 75.73 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1274, allocations: 62.43 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006259/0.1338, allocations: 5.329 MB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.1367, allocations: 1.643 MB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005227/0.1373, allocations: 20 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.1408, allocations: 1.598 MB / 488.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.1419, allocations: 309.6 kB / 489 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1431, allocations: 0.5093 MB / 489.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.1443, allocations: 0.8009 MB / 490.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.1457, allocations: 0.7292 MB / 491.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006673/0.1464, allocations: 350.7 kB / 491.4 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007701/0.1471, allocations: 462.2 kB / 491.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.1474, allocations: 72 kB / 491.9 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008133/0.1482, allocations: 199.8 kB / 492.1 MB, free: 9.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1484, allocations: 179.4 kB / 492.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000553/0.149, allocations: 429.9 kB / 492.7 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.1504, allocations: 1.148 MB / 493.9 MB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1504, allocations: 0 / 493.9 MB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1505, allocations: 4 kB / 493.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.624e-05/0.1505, allocations: 0 / 493.9 MB, free: 7.367 MB / 366.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.004112/0.1546, allocations: 1.358 MB / 495.2 MB, free: 5.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1547, allocations: 8.031 kB / 495.2 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000221/0.1549, allocations: 152.4 kB / 495.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.1566, allocations: 239.8 kB / 495.6 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.1569, allocations: 271 kB / 495.9 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.157, allocations: 78.31 kB / 496 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.1572, allocations: 107.9 kB / 496.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.1587, allocations: 0.9243 MB / 497 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/0.1588, allocations: 7.984 kB / 497 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.1588, allocations: 40 kB / 497 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1589, allocations: 24 kB / 497.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.1602, allocations: 0.726 MB / 497.8 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005625/0.1658, allocations: 4.103 MB / 0.4901 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.1686, allocations: 3.385 MB / 0.4934 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/0.169, allocations: 294.3 kB / 0.4937 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.1692, allocations: 178.5 kB / 0.4939 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.1693, allocations: 46.83 kB / 0.4939 GB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.755e-06/0.1693, allocations: 0 / 0.4939 GB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002684/0.172, allocations: 1.322 MB / 0.4952 GB, free: 8.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.1721, allocations: 132.5 kB / 0.4953 GB, free: 8.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.1725, allocations: 322.7 kB / 0.4956 GB, free: 8.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.1725, allocations: 41.7 kB / 0.4957 GB, free: 8.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.1728, allocations: 394.4 kB / 0.4961 GB, free: 7.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.173, allocations: 232.6 kB / 0.4963 GB, free: 7.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.1733, allocations: 146.6 kB / 0.4964 GB, free: 7.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1734, allocations: 350.7 kB / 0.4968 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.1738, allocations: 201.9 kB / 0.497 GB, free: 7.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.1743, allocations: 404.6 kB / 0.4973 GB, free: 6.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008614/0.1751, allocations: 0.6296 MB / 0.498 GB, free: 5.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.1752, allocations: 0 / 0.498 GB, free: 5.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001543/0.1767, allocations: 0.8853 MB / 0.4988 GB, free: 4.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.1767, allocations: 8 kB / 0.4988 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.1768, allocations: 4 kB / 0.4988 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/0.1774, allocations: 231.4 kB / 0.499 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.1779, allocations: 135.8 kB / 0.4992 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2285/0.4064, allocations: 6.696 MB / 0.5057 GB, free: 38.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/0.4071, allocations: 96.41 kB / 0.5058 GB, free: 38.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.4072, allocations: 33.62 kB / 0.5058 GB, free: 38.23 MB / 382.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 () * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.4076, allocations: 222 kB / 0.5061 GB, free: 38.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.408, allocations: 43.28 kB / 0.5061 GB, free: 38.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.4093, allocations: 0.6833 MB / 0.5068 GB, free: 38.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4093, allocations: 14.72 kB / 0.5068 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4093, allocations: 5.156 kB / 0.5068 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.4093, allocations: 4.938 kB / 0.5068 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.4119, allocations: 1.569 MB / 0.5083 GB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.4119, allocations: 1.156 kB / 0.5083 GB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.4122, allocations: 72.11 kB / 0.5084 GB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006154/0.4128, allocations: 214.7 kB / 0.5086 GB, free: 37.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.4129, allocations: 20.52 kB / 0.5086 GB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/0.4178, allocations: 6.703 MB / 0.5152 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4178, allocations: 1.344 kB / 0.5152 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.4193, allocations: 1.187 MB / 0.5163 GB, free: 30.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.4194, allocations: 133 kB / 0.5164 GB, free: 30.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.4195, allocations: 13.8 kB / 0.5165 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.4198, allocations: 12.88 kB / 0.5165 GB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.4199, allocations: 57.19 kB / 0.5165 GB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.42, allocations: 17.36 kB / 0.5165 GB, free: 30.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002485/0.4202, allocations: 213.3 kB / 0.5167 GB, free: 30.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4202, allocations: 3.625 kB / 0.5167 GB, free: 30.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001186/0.4214, allocations: 280.1 kB / 0.517 GB, free: 29.94 MB / 382.1 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001677/0.4231, allocations: 1.771 MB / 0.5187 GB, free: 28.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.4248, allocations: 1.089 MB / 0.5198 GB, free: 27.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4248, allocations: 0 / 0.5198 GB, free: 27.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008601/0.4256, allocations: 0.7888 MB / 0.5206 GB, free: 27.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007204/0.4264, allocations: 39.64 kB / 0.5206 GB, free: 27.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007263/0.4337, allocations: 5.182 MB / 0.5257 GB, free: 23.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.4342, allocations: 0.9163 MB / 0.5266 GB, free: 23.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003199/0.4345, allocations: 64.27 kB / 0.5266 GB, free: 23.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.4348, allocations: 232.4 kB / 0.5269 GB, free: 22.96 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4348, allocations: 0 / 0.5269 GB, free: 22.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04765/0.4824, allocations: 11.48 MB / 0.5381 GB, free: 19.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.66/10.14, allocations: 3.375 kB / 0.5381 GB, free: 19.04 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches