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.0008262/0.000826, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009501/0.0009502, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002422, allocations: 4 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.118, allocations: 63.55 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005561/0.1236, allocations: 4.842 MB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.1269, allocations: 1.62 MB / 489.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.1272, allocations: 20 kB / 489.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006733/0.1279, allocations: 243 kB / 489.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008051/0.1287, allocations: 262.3 kB / 490.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.1298, allocations: 498 kB / 490.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007587/0.1306, allocations: 0.7581 MB / 491.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.133, allocations: 1.413 MB / 492.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.1334, allocations: 290.7 kB / 493 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.1339, allocations: 406.2 kB / 493.4 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.1339, allocations: 44 kB / 493.4 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.1343, allocations: 159.8 kB / 493.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1344, allocations: 135.4 kB / 493.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.1348, allocations: 399.6 kB / 494.1 MB, free: 9.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.136, allocations: 1.117 MB / 495.2 MB, free: 7.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.136, allocations: 4 kB / 495.2 MB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.136, allocations: 0 / 495.2 MB, free: 7.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.136, allocations: 0 / 495.2 MB, free: 7.926 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.003297/0.1393, allocations: 1.201 MB / 496.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/0.1394, allocations: 17.95 kB / 496.5 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.141, allocations: 239.7 kB / 496.7 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1413, allocations: 255.8 kB / 496.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.1415, allocations: 82.5 kB / 497 MB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.1416, allocations: 115.7 kB / 497.1 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.1432, allocations: 0.9283 MB / 498.1 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.1432, allocations: 7.984 kB / 498.1 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.1433, allocations: 40 kB / 498.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.1434, allocations: 28 kB / 498.1 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1447, allocations: 0.726 MB / 498.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005145/0.1498, allocations: 4.122 MB / 0.4912 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.1529, allocations: 3.371 MB / 0.4945 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.1534, allocations: 290.1 kB / 0.4948 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.1535, allocations: 182.5 kB / 0.4949 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.1536, allocations: 46.83 kB / 0.495 GB, free: 11.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.265e-06/0.1536, allocations: 0 / 0.495 GB, free: 11.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002672/0.1563, allocations: 1.35 MB / 0.4963 GB, free: 9.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/0.1564, allocations: 136.5 kB / 0.4964 GB, free: 9.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.1568, allocations: 318.8 kB / 0.4967 GB, free: 9.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.1568, allocations: 33.7 kB / 0.4968 GB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.1571, allocations: 402.4 kB / 0.4972 GB, free: 8.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.1573, allocations: 232.6 kB / 0.4974 GB, free: 8.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.1574, allocations: 69.69 kB / 0.4974 GB, free: 8.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1576, allocations: 350.7 kB / 0.4978 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.158, allocations: 201.9 kB / 0.498 GB, free: 7.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.1585, allocations: 408.5 kB / 0.4984 GB, free: 7.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008269/0.1593, allocations: 0.6224 MB / 0.499 GB, free: 6.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1593, allocations: 7.938 kB / 0.499 GB, free: 6.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001422/0.1607, allocations: 0.882 MB / 0.4998 GB, free: 5.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1608, allocations: 11.94 kB / 0.4998 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1608, allocations: 8 kB / 0.4999 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/0.1614, allocations: 223.4 kB / 0.5001 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.1619, allocations: 139.8 kB / 0.5002 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2437/0.4056, allocations: 6.238 MB / 0.5063 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.4062, allocations: 89.27 kB / 0.5064 GB, free: 31.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.4062, allocations: 37.83 kB / 0.5064 GB, free: 31.04 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.0002863/0.4065, allocations: 220.1 kB / 0.5066 GB, free: 30.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.4067, allocations: 48.7 kB / 0.5067 GB, free: 30.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.4079, allocations: 0.6834 MB / 0.5073 GB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4079, allocations: 8.047 kB / 0.5073 GB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4079, allocations: 4.969 kB / 0.5073 GB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.4079, allocations: 5.438 kB / 0.5074 GB, free: 30.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.4105, allocations: 1.573 MB / 0.5089 GB, free: 30.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4105, allocations: 2.906 kB / 0.5089 GB, free: 30.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.4108, allocations: 66.98 kB / 0.509 GB, free: 30.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/0.4113, allocations: 215.3 kB / 0.5092 GB, free: 30.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.4113, allocations: 14.62 kB / 0.5092 GB, free: 30.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004173/0.4155, allocations: 6.226 MB / 0.5153 GB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4155, allocations: 1.062 kB / 0.5153 GB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.417, allocations: 1.19 MB / 0.5164 GB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.4171, allocations: 127.8 kB / 0.5165 GB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.4171, allocations: 12.28 kB / 0.5166 GB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.4175, allocations: 19.84 kB / 0.5166 GB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4176, allocations: 60.44 kB / 0.5166 GB, free: 24.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.4176, allocations: 18.05 kB / 0.5166 GB, free: 24.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002651/0.4179, allocations: 215.8 kB / 0.5169 GB, free: 24.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4179, allocations: 0 / 0.5169 GB, free: 24.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001032/0.4189, allocations: 276.6 kB / 0.5171 GB, free: 24.61 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.000256/0.4192, allocations: 143.7 kB / 0.5173 GB, free: 24.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.4212, allocations: 1.078 MB / 0.5183 GB, free: 24.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.4212, allocations: 4.125 kB / 0.5183 GB, free: 24.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.4223, allocations: 0.7817 MB / 0.5191 GB, free: 23.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.423, allocations: 48.19 kB / 0.5191 GB, free: 23.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.4261, allocations: 1.645 MB / 0.5207 GB, free: 22.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.4267, allocations: 0.9184 MB / 0.5216 GB, free: 21.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.427, allocations: 64.39 kB / 0.5217 GB, free: 21.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.4272, allocations: 34.3 kB / 0.5217 GB, free: 21.68 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4272, allocations: 0 / 0.5217 GB, free: 21.68 MB / 382.1 MB Notification: Performance of Templates: time 0.01655/0.4437, allocations: 6.382 MB / 0.5279 GB, free: 21.14 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 -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/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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches