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.001335/0.001335, allocations: 98.91 kB / 16.93 MB, free: 5.871 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.001354/0.001354, allocations: 183.3 kB / 17.86 MB, free: 5.164 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.397/1.397, allocations: 205.1 MB / 223.7 MB, free: 12.27 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.1999/0.1999, allocations: 43.51 MB / 314.6 MB, free: 0.5312 MB / 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.001568/0.001569, allocations: 71.42 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005229/0.118, allocations: 5.282 MB / 446.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.1209, allocations: 1.62 MB / 448.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004188/0.1214, allocations: 20 kB / 448.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003723/0.1252, allocations: 1.587 MB / 449.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.1264, allocations: 309.6 kB / 450 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.128, allocations: 0.6735 MB / 450.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.1291, allocations: 0.7931 MB / 451.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.1302, allocations: 0.7409 MB / 452.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.1307, allocations: 334.8 kB / 452.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005608/0.1312, allocations: 470.1 kB / 453 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.1314, allocations: 76 kB / 453.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.1319, allocations: 183.9 kB / 453.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.132, allocations: 179.3 kB / 453.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004018/0.1324, allocations: 429.9 kB / 453.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.1337, allocations: 1.137 MB / 455 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1338, allocations: 0 / 455 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1338, allocations: 0 / 455 MB, free: 9.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.1338, allocations: 4 kB / 455 MB, free: 9.047 MB / 334.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.003301/0.1371, allocations: 1.35 MB / 456.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1372, allocations: 11.89 kB / 456.3 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.1385, allocations: 231.7 kB / 456.6 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1388, allocations: 255.8 kB / 456.8 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.1389, allocations: 78.55 kB / 456.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.1391, allocations: 103.9 kB / 457 MB, free: 6.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.1406, allocations: 0.9321 MB / 457.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.1406, allocations: 7.906 kB / 457.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.1408, allocations: 40 kB / 458 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.1408, allocations: 24 kB / 458 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.142, allocations: 0.7184 MB / 458.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004751/0.1468, allocations: 3.94 MB / 462.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.1495, allocations: 3.377 MB / 466 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.1499, allocations: 290.5 kB / 466.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.1501, allocations: 101.3 kB / 466.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1501, allocations: 46.89 kB / 466.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 3.196e-06/0.1501, allocations: 4 kB / 466.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.002622/0.1528, allocations: 1.324 MB / 467.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.1529, allocations: 136.5 kB / 467.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.1533, allocations: 314.8 kB / 468.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.1533, allocations: 37.7 kB / 468.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.1535, allocations: 398.3 kB / 468.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.1537, allocations: 232.7 kB / 468.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.1539, allocations: 150.5 kB / 469 MB, free: 9.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1541, allocations: 354.7 kB / 469.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.1544, allocations: 197.9 kB / 469.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.1549, allocations: 404.6 kB / 470 MB, free: 8.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.1557, allocations: 0.6193 MB / 470.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1557, allocations: 0 / 470.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001452/0.1571, allocations: 0.8852 MB / 471.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1572, allocations: 12.09 kB / 471.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.1572, allocations: 8 kB / 471.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006657/0.1579, allocations: 227.2 kB / 471.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.1583, allocations: 135.8 kB / 471.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005647/0.164, allocations: 6.709 MB / 478.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.1646, allocations: 83.11 kB / 478.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.1646, allocations: 32 kB / 478.7 MB, free: 15.32 MB / 366.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.0003231/0.165, allocations: 226.8 kB / 478.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1651, allocations: 43.59 kB / 478.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1663, allocations: 0.6948 MB / 479.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1663, allocations: 8 kB / 479.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1663, allocations: 4 kB / 479.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1664, allocations: 3.984 kB / 479.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.1688, allocations: 1.585 MB / 481.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1688, allocations: 0 / 481.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.169, allocations: 67.92 kB / 481.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005402/0.1696, allocations: 219.5 kB / 481.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.1696, allocations: 12 kB / 481.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005501/0.1751, allocations: 6.697 MB / 488.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.1752, allocations: 7.969 kB / 488.2 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.1767, allocations: 1.186 MB / 489.4 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.1769, allocations: 124.5 kB / 489.5 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.1769, allocations: 12 kB / 489.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.1773, allocations: 19.98 kB / 489.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1774, allocations: 47.88 kB / 489.6 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.1774, allocations: 27.98 kB / 489.6 MB, free: 3.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.1777, allocations: 210 kB / 489.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1777, allocations: 64 / 489.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001024/0.1787, allocations: 275.2 kB / 490.1 MB, free: 3.156 MB / 366.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.0002547/0.179, allocations: 135.2 kB / 490.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.1806, allocations: 1.099 MB / 491.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1806, allocations: 0 / 491.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.1815, allocations: 0.7802 MB / 492.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.1822, allocations: 48.48 kB / 492.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.1843, allocations: 1.273 MB / 493.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.1849, allocations: 0.9189 MB / 494.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.185, allocations: 43.38 kB / 494.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.185, allocations: 4 kB / 494.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of Templates: time 0.02085/0.2059, allocations: 19.37 MB / 0.5017 GB, free: 11.28 MB / 398.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