Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001375/0.001375, allocations: 104.7 kB / 17.09 MB, free: 6.008 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.001349/0.00135, allocations: 187.1 kB / 18.02 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2358/0.2358, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 64.45 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1069, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006945/0.1139, allocations: 5.277 MB / 0.4937 GB, free: 6.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.1172, allocations: 1.62 MB / 0.4953 GB, free: 4.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008364/0.118, allocations: 16 kB / 0.4953 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00389/0.122, allocations: 1.602 MB / 0.4969 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.1231, allocations: 305.7 kB / 0.4972 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.1247, allocations: 0.6852 MB / 0.4978 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.126, allocations: 0.8008 MB / 0.4986 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.1272, allocations: 0.7368 MB / 0.4993 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006648/0.1279, allocations: 334.7 kB / 0.4996 GB, free: 384 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/0.1287, allocations: 462.2 kB / 0.5001 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.129, allocations: 72 kB / 0.5002 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006536/0.1297, allocations: 183.9 kB / 0.5003 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.1299, allocations: 179.3 kB / 0.5005 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006378/0.1305, allocations: 421.9 kB / 0.5009 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.1323, allocations: 1.163 MB / 0.502 GB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1323, allocations: 0 / 0.502 GB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1324, allocations: 3.938 kB / 0.502 GB, free: 13.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.659e-05/0.1324, allocations: 8 kB / 0.502 GB, free: 13.9 MB / 398.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.003716/0.1361, allocations: 1.36 MB / 0.5034 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1362, allocations: 11.89 kB / 0.5034 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.1376, allocations: 236.2 kB / 0.5036 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1379, allocations: 263.8 kB / 0.5039 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.1379, allocations: 70.38 kB / 0.5039 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.1381, allocations: 104.1 kB / 0.504 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.1398, allocations: 0.9282 MB / 0.5049 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.1399, allocations: 11.94 kB / 0.5049 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.14, allocations: 40 kB / 0.505 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.14, allocations: 35.94 kB / 0.505 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.1413, allocations: 0.7221 MB / 0.5057 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.1463, allocations: 3.902 MB / 0.5095 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.1488, allocations: 3.384 MB / 0.5128 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.1492, allocations: 292.4 kB / 0.5131 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.1493, allocations: 97.42 kB / 0.5132 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1493, allocations: 50.83 kB / 0.5133 GB, free: 1.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.304e-06/0.1494, allocations: 0 / 0.5133 GB, free: 1.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002636/0.152, allocations: 1.33 MB / 0.5146 GB, free: 15.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.1521, allocations: 140.5 kB / 0.5147 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.1525, allocations: 310.8 kB / 0.515 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.1525, allocations: 45.7 kB / 0.515 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.1528, allocations: 407.8 kB / 0.5154 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.153, allocations: 241.9 kB / 0.5157 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.1532, allocations: 150.6 kB / 0.5158 GB, free: 14.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1533, allocations: 350.8 kB / 0.5161 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.1537, allocations: 197.9 kB / 0.5163 GB, free: 13.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.1542, allocations: 400.6 kB / 0.5167 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008703/0.1551, allocations: 0.6232 MB / 0.5173 GB, free: 12.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.1551, allocations: 7.938 kB / 0.5173 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001568/0.1567, allocations: 0.8776 MB / 0.5182 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1567, allocations: 10.66 kB / 0.5182 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.1567, allocations: 8 kB / 0.5182 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006411/0.1574, allocations: 223.4 kB / 0.5184 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.1579, allocations: 139.8 kB / 0.5185 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006044/0.1639, allocations: 6.714 MB / 0.5251 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.1644, allocations: 87.3 kB / 0.5252 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/0.1645, allocations: 36 kB / 0.5252 GB, free: 4.137 MB / 414.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.0003005/0.1648, allocations: 222.9 kB / 0.5254 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.1649, allocations: 43.72 kB / 0.5255 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.1661, allocations: 0.691 MB / 0.5261 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1661, allocations: 3.984 kB / 0.5261 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.1661, allocations: 0 / 0.5261 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.1663, allocations: 132.6 kB / 0.5263 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.1663, allocations: 19.92 kB / 0.5263 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.1666, allocations: 12 kB / 0.5263 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1668, allocations: 59.91 kB / 0.5264 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001647/0.1684, allocations: 1.005 MB / 0.5273 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001081/0.1695, allocations: 1.046 MB / 0.5284 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002544/0.1698, allocations: 184.5 kB / 0.5285 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.17, allocations: 213.9 kB / 0.5287 GB, free: 436 kB / 414.1 MB Notification: Performance of Backend: time 2.545e-06/0.17, allocations: 0 / 0.5287 GB, free: 436 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.2353/0.4054, allocations: 1.07 MB / 0.5298 GB, free: 39.69 MB / 414.1 MB Notification: Performance of SimCode: time 0.002254/0.4077, allocations: 1.778 MB / 0.5315 GB, free: 38.64 MB / 414.1 MB Notification: Performance of Templates: time 0.01711/0.4248, allocations: 8.154 MB / 0.5395 GB, free: 38.07 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches