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.001186/0.001186, allocations: 106.9 kB / 17.21 MB, free: 6.27 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.001173/0.001173, allocations: 194 kB / 18.12 MB, free: 5.363 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.342/1.342, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2191/0.2191, allocations: 44.16 MB / 336.1 MB, free: 3.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 66.83 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1146, allocations: 60.81 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007451/0.1221, allocations: 5.292 MB / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.1255, allocations: 1.569 MB / 475.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008274/0.1264, allocations: 16 kB / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003641/0.1301, allocations: 1.505 MB / 477 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.1314, allocations: 258.3 kB / 477.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.1331, allocations: 0.6578 MB / 477.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.1344, allocations: 0.7581 MB / 478.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.1358, allocations: 0.6726 MB / 479.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/0.1364, allocations: 318.7 kB / 479.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007988/0.1372, allocations: 446.2 kB / 480.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.1375, allocations: 60 kB / 480.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007484/0.1382, allocations: 175.9 kB / 480.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.1385, allocations: 163.3 kB / 480.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006134/0.1391, allocations: 405.9 kB / 480.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.1406, allocations: 1.133 MB / 482 MB, free: 1.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1406, allocations: 4 kB / 482 MB, free: 1.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1406, allocations: 0 / 482 MB, free: 1.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.768e-05/0.1407, allocations: 0 / 482 MB, free: 1.312 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.003946/0.1446, allocations: 1.352 MB / 483.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1447, allocations: 12.03 kB / 483.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002529/0.1449, allocations: 152.4 kB / 483.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.1465, allocations: 227.7 kB / 483.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.1468, allocations: 247.8 kB / 484 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.147, allocations: 86.3 kB / 484.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.1472, allocations: 107.8 kB / 484.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.1491, allocations: 0.9321 MB / 485.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.1492, allocations: 4 kB / 485.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/0.1492, allocations: 36 kB / 485.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.1493, allocations: 24 kB / 485.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.1507, allocations: 0.73 MB / 485.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005275/0.156, allocations: 3.948 MB / 489.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/0.1586, allocations: 3.384 MB / 493.2 MB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.159, allocations: 295.4 kB / 493.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.82e-05/0.1591, allocations: 93.42 kB / 493.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1591, allocations: 46.89 kB / 493.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 3.887e-06/0.1591, allocations: 0 / 493.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00256/0.1617, allocations: 1.323 MB / 495 MB, free: 3.117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.1618, allocations: 140.5 kB / 495.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.1622, allocations: 318.8 kB / 495.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.1622, allocations: 33.7 kB / 495.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.1625, allocations: 398.4 kB / 495.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.1627, allocations: 240.6 kB / 496.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.1629, allocations: 142.6 kB / 496.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.163, allocations: 358.7 kB / 496.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.1634, allocations: 197.9 kB / 496.8 MB, free: 1.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/0.1639, allocations: 400.6 kB / 497.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.1647, allocations: 0.619 MB / 497.8 MB, free: 92 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/0.1647, allocations: 8 kB / 497.8 MB, free: 84 kB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001552/0.1663, allocations: 0.8732 MB / 498.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.1663, allocations: 11 kB / 498.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.1663, allocations: 8 kB / 498.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006758/0.167, allocations: 231.2 kB / 498.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.1675, allocations: 139.8 kB / 499 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005237/0.1728, allocations: 6.225 MB / 0.4934 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.1733, allocations: 90.98 kB / 0.4935 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.1733, allocations: 36 kB / 0.4936 GB, free: 7.918 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.0003337/0.1737, allocations: 217.6 kB / 0.4938 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.1738, allocations: 47.38 kB / 0.4938 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.175, allocations: 0.6911 MB / 0.4945 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.1751, allocations: 11.98 kB / 0.4945 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.1751, allocations: 4 kB / 0.4945 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.1751, allocations: 3.938 kB / 0.4945 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.1775, allocations: 1.573 MB / 0.496 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1776, allocations: 0 / 0.496 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.1778, allocations: 67.91 kB / 0.4961 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005291/0.1783, allocations: 211.2 kB / 0.4963 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.1784, allocations: 15.98 kB / 0.4963 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2331/0.4115, allocations: 6.215 MB / 0.5024 GB, free: 47.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.4116, allocations: 1.406 kB / 0.5024 GB, free: 47.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/0.4147, allocations: 1.188 MB / 0.5035 GB, free: 46.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.415, allocations: 130.9 kB / 0.5037 GB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.4152, allocations: 15.97 kB / 0.5037 GB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.4156, allocations: 15.59 kB / 0.5037 GB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.4158, allocations: 58.52 kB / 0.5038 GB, free: 46.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.4158, allocations: 17.72 kB / 0.5038 GB, free: 46.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000323/0.4162, allocations: 217 kB / 0.504 GB, free: 46.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4162, allocations: 0 / 0.504 GB, free: 46.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001453/0.4176, allocations: 272.6 kB / 0.5042 GB, free: 46.57 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.001888/0.4195, allocations: 1.76 MB / 0.506 GB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.421, allocations: 1.077 MB / 0.507 GB, free: 45.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.421, allocations: 3.531 kB / 0.507 GB, free: 45.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007569/0.4218, allocations: 0.7806 MB / 0.5078 GB, free: 44.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.4225, allocations: 49.12 kB / 0.5078 GB, free: 44.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006234/0.4287, allocations: 5.531 MB / 0.5132 GB, free: 40.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.4291, allocations: 0.9201 MB / 0.5141 GB, free: 40.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.4294, allocations: 63.05 kB / 0.5142 GB, free: 40.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.4296, allocations: 233.7 kB / 0.5144 GB, free: 39.85 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4296, allocations: 4 kB / 0.5144 GB, free: 39.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.4624, allocations: 11.05 MB / 0.5252 GB, free: 36.73 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.4625, allocations: 242.6 kB / 0.5254 GB, free: 36.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.495, allocations: 4 kB / 0.5254 GB, free: 36.48 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