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.0007625/0.0007626, allocations: 95.61 kB / 17.35 MB, free: 6.371 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.0008099/0.0008099, allocations: 172.7 kB / 18.25 MB, free: 5.527 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.271/1.271, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.214/0.214, allocations: 44.24 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002948, allocations: 8 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1022, allocations: 61.92 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005173/0.1074, allocations: 4.825 MB / 477.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002938/0.1103, allocations: 1.561 MB / 478.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.111, allocations: 16 kB / 478.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.1118, allocations: 255 kB / 479 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.1128, allocations: 250.4 kB / 479.3 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.1143, allocations: 0.631 MB / 479.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.1156, allocations: 0.7658 MB / 480.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.1183, allocations: 1.408 MB / 482.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.1188, allocations: 286.8 kB / 482.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.1195, allocations: 402.2 kB / 482.7 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.1196, allocations: 40 kB / 482.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.1201, allocations: 151.9 kB / 482.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.1202, allocations: 135.3 kB / 483.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.1207, allocations: 403.7 kB / 483.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.122, allocations: 1.105 MB / 484.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.122, allocations: 0 / 484.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.122, allocations: 0 / 484.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.122, allocations: 4 kB / 484.6 MB, free: 0.9375 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.003228/0.1252, allocations: 1.204 MB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1253, allocations: 8.031 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/0.1255, allocations: 152.4 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.127, allocations: 231.7 kB / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.1272, allocations: 253.9 kB / 486.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.1274, allocations: 90.23 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.1276, allocations: 99.91 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.1292, allocations: 0.9322 MB / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.623e-05/0.1292, allocations: 3.938 kB / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/0.1293, allocations: 40 kB / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.1294, allocations: 28 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.1307, allocations: 0.7261 MB / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005064/0.1358, allocations: 3.968 MB / 492.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/0.1387, allocations: 3.381 MB / 495.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.1391, allocations: 296.7 kB / 495.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.647e-05/0.1392, allocations: 93.42 kB / 496 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1392, allocations: 46.83 kB / 496.1 MB, free: 4.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.284e-06/0.1392, allocations: 0 / 496.1 MB, free: 4.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002656/0.1419, allocations: 1.355 MB / 497.4 MB, free: 2.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.142, allocations: 132.5 kB / 497.6 MB, free: 2.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.1424, allocations: 322.8 kB / 497.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.1424, allocations: 37.7 kB / 497.9 MB, free: 2.301 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.1426, allocations: 394.5 kB / 498.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.1428, allocations: 232.6 kB / 498.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.1429, allocations: 65.69 kB / 498.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.143, allocations: 358.7 kB / 498.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.1434, allocations: 197.9 kB / 499.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.1439, allocations: 408.6 kB / 499.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008231/0.1447, allocations: 0.6191 MB / 0.4884 GB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.1447, allocations: 0 / 0.4884 GB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001457/0.1462, allocations: 0.8891 MB / 0.4893 GB, free: 14.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1462, allocations: 8 kB / 0.4893 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.1462, allocations: 4 kB / 0.4893 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.1468, allocations: 223.4 kB / 0.4895 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.1473, allocations: 139.8 kB / 0.4897 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005073/0.1524, allocations: 6.237 MB / 0.4957 GB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.1528, allocations: 99.11 kB / 0.4958 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.1529, allocations: 32.03 kB / 0.4959 GB, free: 7.691 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.0003285/0.1532, allocations: 225.6 kB / 0.4961 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.1534, allocations: 43.52 kB / 0.4961 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.1546, allocations: 0.6983 MB / 0.4968 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1546, allocations: 8 kB / 0.4968 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.1546, allocations: 8 kB / 0.4968 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.1547, allocations: 7.922 kB / 0.4968 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.157, allocations: 1.57 MB / 0.4984 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.157, allocations: 0 / 0.4984 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.1573, allocations: 67.91 kB / 0.4984 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005109/0.1578, allocations: 215.2 kB / 0.4986 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.1578, allocations: 12 kB / 0.4986 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1981/0.3559, allocations: 6.223 MB / 0.5047 GB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.356, allocations: 1.375 kB / 0.5047 GB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.3575, allocations: 1.189 MB / 0.5059 GB, free: 44.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3576, allocations: 128.8 kB / 0.506 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.3577, allocations: 11.69 kB / 0.506 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.358, allocations: 15.48 kB / 0.506 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3582, allocations: 58.77 kB / 0.5061 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.3582, allocations: 18.19 kB / 0.5061 GB, free: 44.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002604/0.3585, allocations: 213.8 kB / 0.5063 GB, free: 44.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3585, allocations: 0 / 0.5063 GB, free: 44.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009545/0.3594, allocations: 276.2 kB / 0.5066 GB, free: 44.29 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.001626/0.3611, allocations: 1.765 MB / 0.5083 GB, free: 43.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.3625, allocations: 1.088 MB / 0.5094 GB, free: 42.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3625, allocations: 3.828 kB / 0.5094 GB, free: 42.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000741/0.3632, allocations: 0.78 MB / 0.5101 GB, free: 42.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.3639, allocations: 42.75 kB / 0.5102 GB, free: 42.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006622/0.3705, allocations: 5.587 MB / 0.5156 GB, free: 38.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.3711, allocations: 0.9104 MB / 0.5165 GB, free: 38.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003354/0.3715, allocations: 67.97 kB / 0.5166 GB, free: 38.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.3717, allocations: 229.7 kB / 0.5168 GB, free: 37.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.472e-06/0.3717, allocations: 0 / 0.5168 GB, free: 37.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.3965, allocations: 10.85 MB / 0.5274 GB, free: 34.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.3968, allocations: 248.2 kB / 0.5276 GB, free: 34.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.43, allocations: 5.688 kB / 0.5276 GB, free: 34.65 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