Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 109.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001933/0.001933, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.244/0.244, allocations: 46.89 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 79.86 kB / 0.4924 GB, free: 8.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1263, allocations: 65.98 MB / 0.5568 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00739/0.1337, allocations: 5.367 MB / 0.562 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.137, allocations: 1.646 MB / 0.5636 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.1373, allocations: 24 kB / 0.5637 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003513/0.1408, allocations: 1.606 MB / 0.5652 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000713/0.1416, allocations: 313.6 kB / 0.5655 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1428, allocations: 0.529 MB / 0.566 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009357/0.1437, allocations: 0.8046 MB / 0.5668 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000888/0.1446, allocations: 0.5611 MB / 0.5674 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.1451, allocations: 338.7 kB / 0.5677 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005866/0.1457, allocations: 462.2 kB / 0.5681 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.1458, allocations: 76 kB / 0.5682 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000489/0.1463, allocations: 203.9 kB / 0.5684 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1464, allocations: 167.4 kB / 0.5686 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004787/0.1469, allocations: 429.9 kB / 0.569 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.1483, allocations: 1.171 MB / 0.5701 GB, free: 8.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1483, allocations: 0 / 0.5701 GB, free: 8.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1483, allocations: 4 kB / 0.5701 GB, free: 8.219 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1483, allocations: 0 / 0.5701 GB, free: 8.219 MB / 430.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.003602/0.1519, allocations: 1.38 MB / 0.5715 GB, free: 6.789 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.152, allocations: 13.11 kB / 0.5715 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.1536, allocations: 232.2 kB / 0.5717 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1539, allocations: 258.1 kB / 0.572 GB, free: 6.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.154, allocations: 74.38 kB / 0.572 GB, free: 6.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.1542, allocations: 100.1 kB / 0.5721 GB, free: 6.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.156, allocations: 0.9399 MB / 0.573 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.156, allocations: 7.953 kB / 0.573 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.243e-05/0.1561, allocations: 40 kB / 0.5731 GB, free: 5.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.1561, allocations: 27.98 kB / 0.5731 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1574, allocations: 0.7223 MB / 0.5738 GB, free: 4.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006551/0.164, allocations: 4.08 MB / 0.5778 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/0.1672, allocations: 3.325 MB / 0.581 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/0.1677, allocations: 269.2 kB / 0.5813 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.1679, allocations: 190.4 kB / 0.5815 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.1679, allocations: 42.89 kB / 0.5815 GB, free: 11.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 3.076e-06/0.1679, allocations: 0 / 0.5815 GB, free: 11.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.003046/0.171, allocations: 1.331 MB / 0.5828 GB, free: 9.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.1711, allocations: 140.6 kB / 0.583 GB, free: 9.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.1715, allocations: 314.8 kB / 0.5833 GB, free: 9.457 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.1716, allocations: 41.64 kB / 0.5833 GB, free: 9.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.1719, allocations: 403.9 kB / 0.5837 GB, free: 9.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.1721, allocations: 245.9 kB / 0.5839 GB, free: 8.766 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.1724, allocations: 150.6 kB / 0.5841 GB, free: 8.613 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.1726, allocations: 350.8 kB / 0.5844 GB, free: 8.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.173, allocations: 197.9 kB / 0.5846 GB, free: 8.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.1736, allocations: 408.6 kB / 0.585 GB, free: 7.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.1746, allocations: 0.618 MB / 0.5856 GB, free: 6.891 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1746, allocations: 0 / 0.5856 GB, free: 6.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001815/0.1764, allocations: 0.8776 MB / 0.5864 GB, free: 5.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.1764, allocations: 11.98 kB / 0.5864 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.1764, allocations: 8 kB / 0.5865 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/0.1771, allocations: 219.4 kB / 0.5867 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.1776, allocations: 143.7 kB / 0.5868 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2454/0.423, allocations: 6.693 MB / 0.5933 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/0.4235, allocations: 95.52 kB / 0.5934 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.4236, allocations: 36.02 kB / 0.5935 GB, free: 33.33 MB / 446.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.0002785/0.4238, allocations: 222 kB / 0.5937 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.424, allocations: 42.94 kB / 0.5937 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.4252, allocations: 0.6813 MB / 0.5944 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.4253, allocations: 11.97 kB / 0.5944 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.4253, allocations: 5.344 kB / 0.5944 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4253, allocations: 7.938 kB / 0.5944 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.4276, allocations: 1.564 MB / 0.5959 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.4276, allocations: 0 / 0.5959 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.4278, allocations: 73.25 kB / 0.596 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005204/0.4284, allocations: 215.4 kB / 0.5962 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.4284, allocations: 13.72 kB / 0.5962 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004254/0.4326, allocations: 6.706 MB / 0.6028 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4326, allocations: 3.469 kB / 0.6028 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.4342, allocations: 1.18 MB / 0.6039 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.4343, allocations: 131 kB / 0.6041 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.4344, allocations: 21.06 kB / 0.6041 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.4347, allocations: 15.12 kB / 0.6041 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.4348, allocations: 53.03 kB / 0.6041 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.4349, allocations: 19.02 kB / 0.6042 GB, free: 26.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.4351, allocations: 210.4 kB / 0.6044 GB, free: 25.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4351, allocations: 1.344 kB / 0.6044 GB, free: 25.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001046/0.4361, allocations: 281.4 kB / 0.6046 GB, free: 25.84 MB / 446.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.0002467/0.4364, allocations: 136.5 kB / 0.6048 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.438, allocations: 1.053 MB / 0.6058 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.438, allocations: 0 / 0.6058 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.4388, allocations: 0.7627 MB / 0.6065 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.4395, allocations: 43.97 kB / 0.6066 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.4417, allocations: 1.263 MB / 0.6078 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.4421, allocations: 0.9162 MB / 0.6087 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.4423, allocations: 58.88 kB / 0.6088 GB, free: 22.97 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4423, allocations: 0.7188 kB / 0.6088 GB, free: 22.97 MB / 446.1 MB Notification: Performance of Templates: time 0.02146/0.4637, allocations: 19.72 MB / 0.628 GB, free: 15.07 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.446100409142673]