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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001436/0.001436, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.357/1.357, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2048/0.2048, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 65.3 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1062, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006315/0.1126, allocations: 5.308 MB / 474.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.1154, allocations: 1.576 MB / 476.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.1157, allocations: 20 kB / 476.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.1189, allocations: 1.594 MB / 477.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008657/0.1197, allocations: 309.6 kB / 478.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.121, allocations: 0.6796 MB / 478.7 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008005/0.1219, allocations: 0.7971 MB / 479.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009425/0.1228, allocations: 0.7292 MB / 480.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.1233, allocations: 338.7 kB / 480.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.1238, allocations: 462.2 kB / 481 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-05/0.1239, allocations: 76 kB / 481.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.1244, allocations: 191.8 kB / 481.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1245, allocations: 179.4 kB / 481.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003204/0.1248, allocations: 429.9 kB / 481.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1259, allocations: 1.145 MB / 483 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1259, allocations: 0 / 483 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1259, allocations: 0 / 483 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1259, allocations: 0 / 483 MB, free: 0.5117 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.003346/0.1292, allocations: 1.358 MB / 484.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1293, allocations: 8.031 kB / 484.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.1306, allocations: 223.8 kB / 484.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.1308, allocations: 259.8 kB / 484.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.131, allocations: 74.56 kB / 485 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.1311, allocations: 107.8 kB / 485.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.1325, allocations: 0.9322 MB / 486 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.1325, allocations: 4 kB / 486 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-05/0.1326, allocations: 40 kB / 486 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.1326, allocations: 24 kB / 486.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1337, allocations: 0.7184 MB / 486.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005048/0.1388, allocations: 3.948 MB / 490.7 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/0.1414, allocations: 3.389 MB / 494.1 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.1418, allocations: 289.4 kB / 494.4 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.1419, allocations: 101.3 kB / 494.5 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1419, allocations: 42.83 kB / 494.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.685e-06/0.1419, allocations: 0 / 494.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002498/0.1444, allocations: 1.323 MB / 495.9 MB, free: 2.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.1445, allocations: 136.5 kB / 496 MB, free: 2.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.1449, allocations: 314.8 kB / 496.3 MB, free: 1.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.1449, allocations: 37.7 kB / 496.3 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.1452, allocations: 402.4 kB / 496.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.1453, allocations: 228.7 kB / 497 MB, free: 1.324 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.1455, allocations: 146.5 kB / 497.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1456, allocations: 354.7 kB / 497.4 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.146, allocations: 197.9 kB / 497.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.1464, allocations: 404.6 kB / 498 MB, free: 160 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007875/0.1472, allocations: 0.6258 MB / 498.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1472, allocations: 4 kB / 498.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001335/0.1486, allocations: 0.8784 MB / 499.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1486, allocations: 8.5 kB / 499.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1486, allocations: 12 kB / 499.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005665/0.1492, allocations: 219.2 kB / 499.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.1496, allocations: 143.8 kB / 499.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/0.1549, allocations: 6.705 MB / 0.4947 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.1555, allocations: 83.53 kB / 0.4948 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.1556, allocations: 39.98 kB / 0.4949 GB, free: 6.777 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.0004261/0.156, allocations: 221.5 kB / 0.4951 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.1562, allocations: 47.38 kB / 0.4951 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.1575, allocations: 0.6872 MB / 0.4958 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.1575, allocations: 8 kB / 0.4958 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.1575, allocations: 4 kB / 0.4958 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1576, allocations: 7.922 kB / 0.4958 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.1601, allocations: 1.577 MB / 0.4974 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1601, allocations: 0 / 0.4974 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.1603, allocations: 71.91 kB / 0.4974 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005002/0.1608, allocations: 219.2 kB / 0.4976 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.1609, allocations: 16 kB / 0.4976 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2441/0.4049, allocations: 6.687 MB / 0.5042 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.405, allocations: 2.031 kB / 0.5042 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.4069, allocations: 1.188 MB / 0.5053 GB, free: 46.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.407, allocations: 128.5 kB / 0.5055 GB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.4071, allocations: 12.31 kB / 0.5055 GB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.4074, allocations: 13.44 kB / 0.5055 GB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.4076, allocations: 59.39 kB / 0.5055 GB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.4076, allocations: 18.83 kB / 0.5056 GB, free: 45.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002627/0.4079, allocations: 212.5 kB / 0.5058 GB, free: 45.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4079, allocations: 0 / 0.5058 GB, free: 45.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001134/0.409, allocations: 279.1 kB / 0.506 GB, free: 45.74 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.0002365/0.4093, allocations: 139.9 kB / 0.5062 GB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.4108, allocations: 1.092 MB / 0.5072 GB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4109, allocations: 0 / 0.5072 GB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007441/0.4116, allocations: 0.7856 MB / 0.508 GB, free: 44.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006697/0.4123, allocations: 52.73 kB / 0.508 GB, free: 44.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.4143, allocations: 1.228 MB / 0.5092 GB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.4147, allocations: 0.9146 MB / 0.5101 GB, free: 42.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.415, allocations: 60.31 kB / 0.5102 GB, free: 42.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.4151, allocations: 36.97 kB / 0.5102 GB, free: 42.96 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4151, allocations: 1.344 kB / 0.5102 GB, free: 42.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01366/0.4288, allocations: 6.706 MB / 0.5168 GB, free: 42.07 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/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