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.001234/0.001234, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001645/0.001645, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.439/1.439, allocations: 222.9 MB / 243 MB, free: 15.09 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.2276/0.2276, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001435, allocations: 68.23 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.144, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.008672/0.1527, allocations: 5.311 MB / 476 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004029/0.1568, allocations: 1.573 MB / 477.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.1574, allocations: 20 kB / 477.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004644/0.1621, allocations: 1.598 MB / 479.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.1641, allocations: 309.6 kB / 479.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.1663, allocations: 0.6683 MB / 480.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.1681, allocations: 0.8087 MB / 481 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.1698, allocations: 0.7289 MB / 481.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007717/0.1706, allocations: 342.7 kB / 482 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000802/0.1714, allocations: 462.2 kB / 482.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.1716, allocations: 76 kB / 482.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.1723, allocations: 191.8 kB / 482.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.1726, allocations: 179.4 kB / 482.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005122/0.1731, allocations: 421.9 kB / 483.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.1748, allocations: 1.156 MB / 484.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1748, allocations: 0 / 484.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1748, allocations: 0 / 484.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.1749, allocations: 0 / 484.5 MB, free: 15.77 MB / 366.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.005077/0.18, allocations: 1.361 MB / 485.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/0.18, allocations: 12.03 kB / 485.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.1821, allocations: 223.8 kB / 486.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.1825, allocations: 255.8 kB / 486.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/0.1827, allocations: 70.38 kB / 486.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.1829, allocations: 112 kB / 486.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.1849, allocations: 0.9243 MB / 487.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/0.185, allocations: 7.938 kB / 487.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1851, allocations: 43.98 kB / 487.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/0.1852, allocations: 24 kB / 487.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.1867, allocations: 0.7222 MB / 488.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005088/0.1918, allocations: 3.905 MB / 492.1 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.1947, allocations: 3.384 MB / 495.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000394/0.1951, allocations: 294 kB / 495.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.1952, allocations: 97.41 kB / 495.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1953, allocations: 46.83 kB / 496 MB, free: 3.184 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.826e-06/0.1953, allocations: 0 / 496 MB, free: 3.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002609/0.1979, allocations: 1.326 MB / 497.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/0.198, allocations: 136.5 kB / 497.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.1984, allocations: 314.8 kB / 497.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.1984, allocations: 37.7 kB / 497.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.1987, allocations: 398.4 kB / 498.2 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.1989, allocations: 224.8 kB / 498.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.1991, allocations: 150.5 kB / 498.5 MB, free: 480 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1992, allocations: 354.8 kB / 498.9 MB, free: 116 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.1995, allocations: 197.9 kB / 499.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.2, allocations: 396.6 kB / 499.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/0.2008, allocations: 0.6257 MB / 0.4884 GB, free: 14.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.2008, allocations: 8 kB / 0.4884 GB, free: 14.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001333/0.2021, allocations: 0.8784 MB / 0.4892 GB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2022, allocations: 8.5 kB / 0.4892 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.2022, allocations: 12 kB / 0.4892 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.2028, allocations: 223.2 kB / 0.4894 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.2032, allocations: 135.8 kB / 0.4896 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/0.2086, allocations: 6.701 MB / 0.4961 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.2092, allocations: 87.06 kB / 0.4962 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.2092, allocations: 28 kB / 0.4962 GB, free: 6.09 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.0003312/0.2096, allocations: 241.5 kB / 0.4965 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.2097, allocations: 43.44 kB / 0.4965 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.2109, allocations: 0.6871 MB / 0.4972 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.2109, allocations: 8 kB / 0.4972 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2109, allocations: 4 kB / 0.4972 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.2109, allocations: 3.984 kB / 0.4972 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.2132, allocations: 1.566 MB / 0.4987 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.2132, allocations: 4 kB / 0.4987 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.2135, allocations: 67.91 kB / 0.4988 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/0.214, allocations: 219.2 kB / 0.499 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.214, allocations: 12 kB / 0.499 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2794/0.4934, allocations: 6.69 MB / 0.5055 GB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4935, allocations: 3.406 kB / 0.5055 GB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.4949, allocations: 1.182 MB / 0.5067 GB, free: 44.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.495, allocations: 127.6 kB / 0.5068 GB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.4951, allocations: 10.88 kB / 0.5068 GB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.4954, allocations: 19.44 kB / 0.5068 GB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.4955, allocations: 61.39 kB / 0.5069 GB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.4956, allocations: 16.86 kB / 0.5069 GB, free: 44.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.4958, allocations: 214.9 kB / 0.5071 GB, free: 44.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4958, allocations: 0 / 0.5071 GB, free: 44.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009445/0.4968, allocations: 282.9 kB / 0.5074 GB, free: 44.48 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.0001999/0.497, allocations: 134 kB / 0.5075 GB, free: 44.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.4983, allocations: 1.075 MB / 0.5086 GB, free: 43.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4984, allocations: 3.562 kB / 0.5086 GB, free: 43.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000707/0.4991, allocations: 0.7793 MB / 0.5093 GB, free: 43.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.4997, allocations: 48.69 kB / 0.5094 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.5017, allocations: 1.217 MB / 0.5106 GB, free: 42.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.5021, allocations: 0.9113 MB / 0.5115 GB, free: 41.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.5023, allocations: 64.19 kB / 0.5115 GB, free: 41.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.5024, allocations: 32.14 kB / 0.5116 GB, free: 41.87 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5024, allocations: 1.344 kB / 0.5116 GB, free: 41.87 MB / 382.1 MB Notification: Performance of Templates: time 0.01474/0.5172, allocations: 6.645 MB / 0.518 GB, free: 41 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/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