Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.001081, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 80.19 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1415, allocations: 62.44 MB / 481.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.009896/0.1514, allocations: 5.339 MB / 486.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004083/0.1556, allocations: 1.631 MB / 488.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.156, allocations: 16 kB / 488.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004039/0.1601, allocations: 1.602 MB / 490 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009799/0.1611, allocations: 313.6 kB / 490.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.1626, allocations: 0.5137 MB / 490.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.1638, allocations: 0.8048 MB / 491.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.1652, allocations: 0.7289 MB / 492.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005806/0.1658, allocations: 346.7 kB / 492.7 MB, free: 9.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007242/0.1665, allocations: 454.2 kB / 493.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.1667, allocations: 76 kB / 493.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005973/0.1673, allocations: 203.9 kB / 493.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.1675, allocations: 183.2 kB / 493.6 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.1681, allocations: 421.9 kB / 494 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.1697, allocations: 1.168 MB / 495.2 MB, free: 6.684 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1697, allocations: 0 / 495.2 MB, free: 6.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1697, allocations: 0 / 495.2 MB, free: 6.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.1697, allocations: 0 / 495.2 MB, free: 6.684 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.005135/0.1749, allocations: 1.354 MB / 496.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1749, allocations: 9.109 kB / 496.6 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/0.1779, allocations: 239.7 kB / 496.8 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.1782, allocations: 262.8 kB / 497.1 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/0.1783, allocations: 74.38 kB / 497.1 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.1785, allocations: 104 kB / 497.2 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.1808, allocations: 0.9322 MB / 498.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/0.1808, allocations: 0 / 498.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.1809, allocations: 40 kB / 498.2 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.181, allocations: 24 kB / 498.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.1829, allocations: 0.726 MB / 499 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006586/0.1895, allocations: 4.075 MB / 0.4912 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.1921, allocations: 3.385 MB / 0.4945 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.1925, allocations: 294.3 kB / 0.4948 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.1926, allocations: 178.5 kB / 0.495 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1927, allocations: 50.77 kB / 0.495 GB, free: 9.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.425e-06/0.1927, allocations: 0 / 0.495 GB, free: 9.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002505/0.1952, allocations: 1.319 MB / 0.4963 GB, free: 8.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.1953, allocations: 140.5 kB / 0.4965 GB, free: 8.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.1957, allocations: 314.7 kB / 0.4968 GB, free: 7.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.1957, allocations: 37.7 kB / 0.4968 GB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.196, allocations: 394.4 kB / 0.4972 GB, free: 7.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.1962, allocations: 228.7 kB / 0.4974 GB, free: 7.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.1964, allocations: 146.5 kB / 0.4975 GB, free: 7.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1965, allocations: 358.8 kB / 0.4979 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.1969, allocations: 193.9 kB / 0.4981 GB, free: 6.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.1973, allocations: 400.6 kB / 0.4984 GB, free: 6.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/0.1981, allocations: 0.6257 MB / 0.4991 GB, free: 5.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1981, allocations: 4 kB / 0.4991 GB, free: 5.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001466/0.1996, allocations: 0.881 MB / 0.4999 GB, free: 4.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1997, allocations: 8 kB / 0.4999 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.1997, allocations: 8.5 kB / 0.4999 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.2003, allocations: 227.2 kB / 0.5002 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.2007, allocations: 135.8 kB / 0.5003 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2311/0.4319, allocations: 6.702 MB / 0.5068 GB, free: 38.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/0.4325, allocations: 83.8 kB / 0.5069 GB, free: 38.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.4326, allocations: 38.53 kB / 0.5069 GB, free: 38.1 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.0003055/0.4329, allocations: 218.8 kB / 0.5072 GB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.433, allocations: 46.77 kB / 0.5072 GB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.4343, allocations: 0.6868 MB / 0.5079 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.4343, allocations: 8.953 kB / 0.5079 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.4343, allocations: 5.5 kB / 0.5079 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.4343, allocations: 3.328 kB / 0.5079 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.4367, allocations: 1.567 MB / 0.5094 GB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4367, allocations: 1.438 kB / 0.5094 GB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.437, allocations: 70.02 kB / 0.5095 GB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005163/0.4375, allocations: 219.3 kB / 0.5097 GB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.4376, allocations: 21.06 kB / 0.5097 GB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004544/0.4421, allocations: 6.688 MB / 0.5162 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4421, allocations: 1.406 kB / 0.5162 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.4436, allocations: 1.185 MB / 0.5174 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.4438, allocations: 137 kB / 0.5175 GB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.4438, allocations: 16.12 kB / 0.5175 GB, free: 29.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.4441, allocations: 13.17 kB / 0.5176 GB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4443, allocations: 56.48 kB / 0.5176 GB, free: 29.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.4443, allocations: 17.59 kB / 0.5176 GB, free: 29.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.4445, allocations: 211.2 kB / 0.5178 GB, free: 29.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4446, allocations: 3.531 kB / 0.5178 GB, free: 29.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001193/0.4458, allocations: 272.3 kB / 0.5181 GB, free: 29.71 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.0002426/0.446, allocations: 139.3 kB / 0.5182 GB, free: 29.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.4474, allocations: 1.082 MB / 0.5193 GB, free: 28.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4474, allocations: 0 / 0.5193 GB, free: 28.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007478/0.4482, allocations: 0.7787 MB / 0.52 GB, free: 28.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/0.4488, allocations: 44.45 kB / 0.5201 GB, free: 28.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.4508, allocations: 1.233 MB / 0.5213 GB, free: 27.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.4513, allocations: 0.9114 MB / 0.5222 GB, free: 26.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.4515, allocations: 64.55 kB / 0.5222 GB, free: 26.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.4516, allocations: 37.83 kB / 0.5223 GB, free: 26.88 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4516, allocations: 0 / 0.5223 GB, free: 26.88 MB / 382.1 MB Notification: Performance of Templates: time 0.01517/0.4668, allocations: 6.688 MB / 0.5288 GB, free: 25.66 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches