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.001111/0.001111, allocations: 116.7 kB / 17.33 MB, free: 6.02 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.001041/0.001041, allocations: 193.3 kB / 18.25 MB, free: 5.109 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.358/1.358, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2092/0.2092, allocations: 44.18 MB / 336.2 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 57.53 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.141, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006432/0.1475, allocations: 5.289 MB / 474 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002914/0.1504, allocations: 1.561 MB / 475.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.1507, allocations: 20 kB / 475.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003206/0.154, allocations: 1.498 MB / 477.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008335/0.1548, allocations: 258.4 kB / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1561, allocations: 0.6379 MB / 478 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1572, allocations: 0.7932 MB / 478.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.1585, allocations: 0.8342 MB / 479.6 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.159, allocations: 338.7 kB / 479.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005353/0.1595, allocations: 458.2 kB / 480.4 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.1596, allocations: 76 kB / 480.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.1601, allocations: 191.8 kB / 480.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.1603, allocations: 179.4 kB / 480.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.1606, allocations: 429.9 kB / 481.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.1618, allocations: 1.141 MB / 482.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1618, allocations: 0 / 482.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1618, allocations: 0 / 482.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.1619, allocations: 4 kB / 482.4 MB, free: 0.9883 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.003275/0.1651, allocations: 1.358 MB / 483.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1652, allocations: 8.031 kB / 483.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.1666, allocations: 223.8 kB / 484 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.1669, allocations: 251.8 kB / 484.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.167, allocations: 82.5 kB / 484.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.1672, allocations: 107.8 kB / 484.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.1687, allocations: 0.9322 MB / 485.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.1687, allocations: 4 kB / 485.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/0.1688, allocations: 40 kB / 485.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.1688, allocations: 24 kB / 485.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.1699, allocations: 0.7184 MB / 486.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005074/0.175, allocations: 3.948 MB / 490.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.1789, allocations: 3.387 MB / 493.5 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000588/0.1795, allocations: 300.3 kB / 493.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.1797, allocations: 93.42 kB / 493.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/0.1797, allocations: 42.83 kB / 493.9 MB, free: 4.371 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 3.957e-06/0.1798, allocations: 0 / 493.9 MB, free: 4.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002821/0.1826, allocations: 1.335 MB / 495.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.1827, allocations: 136.5 kB / 495.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.1832, allocations: 314.8 kB / 495.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.1832, allocations: 37.7 kB / 495.7 MB, free: 2.422 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.1835, allocations: 394.4 kB / 496.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.1837, allocations: 236.7 kB / 496.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.184, allocations: 150.5 kB / 496.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002653/0.1842, allocations: 354.7 kB / 496.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.1846, allocations: 197.9 kB / 497 MB, free: 1.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.1852, allocations: 408.6 kB / 497.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009526/0.1862, allocations: 0.6159 MB / 498 MB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.1862, allocations: 7.938 kB / 498 MB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001515/0.1877, allocations: 0.8772 MB / 498.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.1878, allocations: 12.44 kB / 498.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.1878, allocations: 12 kB / 498.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007654/0.1886, allocations: 219.2 kB / 499.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.189, allocations: 139.8 kB / 499.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006388/0.1954, allocations: 6.705 MB / 0.4941 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005587/0.196, allocations: 87.06 kB / 0.4942 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.1961, allocations: 31.98 kB / 0.4942 GB, free: 7.242 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.0003353/0.1964, allocations: 229.5 kB / 0.4944 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.1966, allocations: 43.44 kB / 0.4945 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.1978, allocations: 0.6872 MB / 0.4952 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1978, allocations: 8 kB / 0.4952 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1978, allocations: 4.375 kB / 0.4952 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.1978, allocations: 3.984 kB / 0.4952 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.2003, allocations: 1.577 MB / 0.4967 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.2003, allocations: 0 / 0.4967 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.2006, allocations: 79.78 kB / 0.4968 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.2011, allocations: 215.2 kB / 0.497 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.2012, allocations: 12 kB / 0.497 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2186/0.4198, allocations: 6.685 MB / 0.5035 GB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4198, allocations: 4.75 kB / 0.5035 GB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.4214, allocations: 1.188 MB / 0.5047 GB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.4215, allocations: 131.2 kB / 0.5048 GB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.4216, allocations: 13.03 kB / 0.5048 GB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.4219, allocations: 12.5 kB / 0.5049 GB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.422, allocations: 59.52 kB / 0.5049 GB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.422, allocations: 17.84 kB / 0.5049 GB, free: 45.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.4223, allocations: 212.9 kB / 0.5051 GB, free: 45.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4223, allocations: 0 / 0.5051 GB, free: 45.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001042/0.4234, allocations: 272.4 kB / 0.5054 GB, free: 45.53 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.0002408/0.4236, allocations: 142.7 kB / 0.5055 GB, free: 45.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.4252, allocations: 1.1 MB / 0.5066 GB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4252, allocations: 0 / 0.5066 GB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008019/0.426, allocations: 0.7717 MB / 0.5074 GB, free: 44.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006956/0.4267, allocations: 46.31 kB / 0.5074 GB, free: 44.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.4289, allocations: 1.598 MB / 0.509 GB, free: 43.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.4294, allocations: 0.9106 MB / 0.5098 GB, free: 42.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003072/0.4297, allocations: 69.83 kB / 0.5099 GB, free: 42.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.629e-05/0.4298, allocations: 38.69 kB / 0.5099 GB, free: 42.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4298, allocations: 0 / 0.5099 GB, free: 42.73 MB / 382.1 MB Notification: Performance of Templates: time 0.01385/0.4437, allocations: 6.726 MB / 0.5165 GB, free: 41.93 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