Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 105.1 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241.9 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2199/0.2199, allocations: 44.17 MB / 336.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 60.22 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1298, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006381/0.1362, allocations: 5.289 MB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.139, allocations: 1.561 MB / 475.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.1393, allocations: 23.94 kB / 475.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.1426, allocations: 1.498 MB / 477.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008161/0.1434, allocations: 262.4 kB / 477.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.1446, allocations: 0.6309 MB / 478.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000812/0.1454, allocations: 0.7893 MB / 478.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.1465, allocations: 0.8342 MB / 479.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.1469, allocations: 342.7 kB / 480 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.1474, allocations: 462.2 kB / 480.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.1475, allocations: 76 kB / 480.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.1479, allocations: 195.9 kB / 480.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.148, allocations: 171.3 kB / 480.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002996/0.1483, allocations: 433.8 kB / 481.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009879/0.1493, allocations: 1.145 MB / 482.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1493, allocations: 0 / 482.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1493, allocations: 0 / 482.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.1494, allocations: 0 / 482.5 MB, free: 0.8789 MB / 350.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.00322/0.1526, allocations: 1.354 MB / 483.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.1526, allocations: 12.03 kB / 483.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.1528, allocations: 152.4 kB / 484 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.1542, allocations: 223.7 kB / 484.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.1544, allocations: 259.9 kB / 484.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.1545, allocations: 82.31 kB / 484.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.1547, allocations: 103.9 kB / 484.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.1562, allocations: 0.9282 MB / 485.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.1562, allocations: 7.984 kB / 485.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/0.1563, allocations: 40 kB / 485.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.1563, allocations: 24 kB / 485.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1575, allocations: 0.7262 MB / 486.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004554/0.162, allocations: 3.94 MB / 490.3 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.1645, allocations: 3.393 MB / 493.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.1649, allocations: 288.5 kB / 494 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.165, allocations: 93.42 kB / 494.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1651, allocations: 50.88 kB / 494.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.504e-06/0.1651, allocations: 0 / 494.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002522/0.1676, allocations: 1.32 MB / 495.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.1677, allocations: 140.5 kB / 495.6 MB, free: 2.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.1681, allocations: 318.8 kB / 495.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.1681, allocations: 37.7 kB / 495.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.1683, allocations: 398.4 kB / 496.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.1685, allocations: 232.6 kB / 496.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.1687, allocations: 142.6 kB / 496.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1688, allocations: 358.7 kB / 497 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.1692, allocations: 197.9 kB / 497.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.1696, allocations: 404.6 kB / 497.6 MB, free: 364 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007499/0.1704, allocations: 0.6236 MB / 498.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.1704, allocations: 0 / 498.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001341/0.1717, allocations: 0.8813 MB / 499.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/0.1718, allocations: 6.5 kB / 499.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.1718, allocations: 11.94 kB / 499.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/0.1724, allocations: 223.4 kB / 499.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.1728, allocations: 143.8 kB / 499.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005119/0.178, allocations: 6.713 MB / 0.4944 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.1784, allocations: 86.97 kB / 0.4944 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.1785, allocations: 39.94 kB / 0.4945 GB, free: 6.969 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.0002761/0.1788, allocations: 221.7 kB / 0.4947 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1789, allocations: 47.47 kB / 0.4947 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.18, allocations: 0.6754 MB / 0.4954 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.18, allocations: 15.98 kB / 0.4954 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1801, allocations: 4 kB / 0.4954 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.1801, allocations: 15.86 kB / 0.4954 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.1823, allocations: 1.558 MB / 0.497 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1823, allocations: 4 kB / 0.497 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.1825, allocations: 67.91 kB / 0.497 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.183, allocations: 219.5 kB / 0.4972 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.1831, allocations: 16 kB / 0.4973 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.182/0.3651, allocations: 6.692 MB / 0.5038 GB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3652, allocations: 0.9375 kB / 0.5038 GB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.3667, allocations: 1.19 MB / 0.5049 GB, free: 45.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.3669, allocations: 127.7 kB / 0.5051 GB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/0.367, allocations: 11.98 kB / 0.5051 GB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.3673, allocations: 15.56 kB / 0.5051 GB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.3675, allocations: 55.58 kB / 0.5052 GB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.3675, allocations: 19.75 kB / 0.5052 GB, free: 45.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.3678, allocations: 212.4 kB / 0.5054 GB, free: 45.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3678, allocations: 3.344 kB / 0.5054 GB, free: 45.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001015/0.3688, allocations: 273.7 kB / 0.5056 GB, free: 45.45 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.001739/0.3705, allocations: 1.776 MB / 0.5074 GB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.3721, allocations: 1.087 MB / 0.5084 GB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3721, allocations: 3.281 kB / 0.5084 GB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008472/0.3729, allocations: 0.7806 MB / 0.5092 GB, free: 43.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.3736, allocations: 45.41 kB / 0.5092 GB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00669/0.3803, allocations: 5.544 MB / 0.5147 GB, free: 39.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.3809, allocations: 0.91 MB / 0.5155 GB, free: 38.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003232/0.3813, allocations: 67.02 kB / 0.5156 GB, free: 38.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.3815, allocations: 228.6 kB / 0.5158 GB, free: 38.41 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3815, allocations: 0 / 0.5158 GB, free: 38.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.4251, allocations: 11.4 MB / 0.527 GB, free: 35.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.4253, allocations: 247.6 kB / 0.5272 GB, free: 34.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.512, allocations: 3.5 kB / 0.5272 GB, free: 34.79 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches