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.001159/0.001159, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001031/0.001031, allocations: 194 kB / 18.12 MB, free: 5.383 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.464/1.464, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2602/0.2602, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.61 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1397, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006496/0.1462, allocations: 5.28 MB / 473.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.1492, allocations: 1.569 MB / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.1495, allocations: 16 kB / 475.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.1526, allocations: 1.514 MB / 476.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007023/0.1533, allocations: 258.4 kB / 477.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1546, allocations: 0.6374 MB / 477.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008876/0.1555, allocations: 0.758 MB / 478.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.1566, allocations: 0.6726 MB / 479.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.1571, allocations: 318.7 kB / 479.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.1577, allocations: 462.2 kB / 480 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-05/0.1578, allocations: 60 kB / 480 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.1582, allocations: 167.9 kB / 480.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1584, allocations: 167.3 kB / 480.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003995/0.1588, allocations: 413.9 kB / 480.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.1602, allocations: 1.129 MB / 481.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1602, allocations: 0 / 481.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1602, allocations: 0 / 481.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1602, allocations: 0 / 481.9 MB, free: 1.398 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.003668/0.1639, allocations: 1.354 MB / 483.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1639, allocations: 12.03 kB / 483.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.1654, allocations: 223.8 kB / 483.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1657, allocations: 251.8 kB / 483.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.1658, allocations: 86.56 kB / 483.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.166, allocations: 107.8 kB / 483.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.1676, allocations: 0.9321 MB / 484.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.1676, allocations: 4 kB / 484.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.1678, allocations: 36 kB / 484.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.1679, allocations: 24 kB / 484.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.1693, allocations: 0.7262 MB / 485.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006772/0.1761, allocations: 3.952 MB / 489.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003679/0.1798, allocations: 3.378 MB / 493 MB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005252/0.1803, allocations: 288.7 kB / 493.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.1806, allocations: 93.42 kB / 493.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1807, allocations: 46.89 kB / 493.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.505e-06/0.1807, allocations: 0 / 493.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002921/0.1836, allocations: 1.319 MB / 494.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.1838, allocations: 144.5 kB / 494.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.1842, allocations: 314.8 kB / 495.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.1842, allocations: 41.7 kB / 495.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.1845, allocations: 390.5 kB / 495.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.1847, allocations: 232.7 kB / 495.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.185, allocations: 154.5 kB / 496 MB, free: 2.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1852, allocations: 350.7 kB / 496.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.1856, allocations: 201.9 kB / 496.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.1863, allocations: 408.6 kB / 496.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.1874, allocations: 0.6192 MB / 497.5 MB, free: 344 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.1874, allocations: 4 kB / 497.5 MB, free: 340 kB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001513/0.189, allocations: 0.8813 MB / 498.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.189, allocations: 8 kB / 498.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.189, allocations: 4 kB / 498.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006493/0.1897, allocations: 231.4 kB / 498.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.1901, allocations: 139.8 kB / 498.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005728/0.1959, allocations: 6.225 MB / 0.4932 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.1964, allocations: 87.23 kB / 0.4933 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.1964, allocations: 43.94 kB / 0.4933 GB, free: 8.16 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.0003297/0.1967, allocations: 221.7 kB / 0.4935 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1969, allocations: 39.53 kB / 0.4935 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.1981, allocations: 0.6923 MB / 0.4942 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.1981, allocations: 8 kB / 0.4942 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.1981, allocations: 8 kB / 0.4942 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1981, allocations: 7.922 kB / 0.4942 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.2007, allocations: 1.569 MB / 0.4958 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2007, allocations: 0 / 0.4958 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.2009, allocations: 67.86 kB / 0.4958 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005021/0.2014, allocations: 215.2 kB / 0.496 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.2015, allocations: 16 kB / 0.4961 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.231/0.4325, allocations: 6.204 MB / 0.5021 GB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4325, allocations: 2.438 kB / 0.5021 GB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.4342, allocations: 1.194 MB / 0.5033 GB, free: 46.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.4344, allocations: 125.4 kB / 0.5034 GB, free: 46.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.4344, allocations: 14.61 kB / 0.5034 GB, free: 46.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.4348, allocations: 13.67 kB / 0.5034 GB, free: 46.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.435, allocations: 63.88 kB / 0.5035 GB, free: 46.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.435, allocations: 18.05 kB / 0.5035 GB, free: 46.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002564/0.4353, allocations: 212.3 kB / 0.5037 GB, free: 46.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4353, allocations: 1.688 kB / 0.5037 GB, free: 46.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001127/0.4364, allocations: 281 kB / 0.504 GB, free: 46.52 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.0002481/0.4367, allocations: 136.4 kB / 0.5041 GB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.4382, allocations: 1.078 MB / 0.5052 GB, free: 45.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4382, allocations: 1.781 kB / 0.5052 GB, free: 45.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007771/0.439, allocations: 0.7789 MB / 0.5059 GB, free: 45.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006815/0.4397, allocations: 47.17 kB / 0.506 GB, free: 45.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.4419, allocations: 1.594 MB / 0.5075 GB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.4424, allocations: 0.9103 MB / 0.5084 GB, free: 43.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003134/0.4427, allocations: 65.78 kB / 0.5085 GB, free: 43.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.645e-05/0.4428, allocations: 40.28 kB / 0.5085 GB, free: 43.93 MB / 382.1 MB Notification: Performance of SimCode: time 5.72e-07/0.4429, allocations: 0 / 0.5085 GB, free: 43.93 MB / 382.1 MB Notification: Performance of Templates: time 0.01387/0.4567, allocations: 6.432 MB / 0.5148 GB, free: 43.33 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