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.001406/0.001406, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1996/0.1996, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 74.28 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1335, allocations: 62.45 MB / 479.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007167/0.1407, allocations: 5.297 MB / 485.2 MB, free: 376 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.1444, allocations: 1.635 MB / 486.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.1448, allocations: 20 kB / 486.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003263/0.1481, allocations: 1.514 MB / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008699/0.149, allocations: 258.4 kB / 488.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1501, allocations: 494.8 kB / 489.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007509/0.1509, allocations: 0.7619 MB / 489.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.1519, allocations: 0.6844 MB / 490.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.1523, allocations: 322.7 kB / 490.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/0.1528, allocations: 446.2 kB / 491.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.573e-05/0.1529, allocations: 60 kB / 491.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.1533, allocations: 179.9 kB / 491.6 MB, free: 10 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1534, allocations: 163.3 kB / 491.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.1538, allocations: 409.9 kB / 492.1 MB, free: 9.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008731/0.1547, allocations: 0.9155 MB / 493.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1547, allocations: 0 / 493.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1547, allocations: 0 / 493.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1547, allocations: 4 kB / 493.1 MB, free: 8.52 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.003501/0.1582, allocations: 1.35 MB / 494.4 MB, free: 7.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.1583, allocations: 9.953 kB / 494.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.16, allocations: 243.7 kB / 494.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.1603, allocations: 267.1 kB / 494.9 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.1605, allocations: 74.56 kB / 495 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.1606, allocations: 107.8 kB / 495.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.1623, allocations: 0.9243 MB / 496 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/0.1623, allocations: 11.98 kB / 496 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.1624, allocations: 40 kB / 496.1 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.1624, allocations: 27.94 kB / 496.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.1637, allocations: 0.726 MB / 496.8 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005121/0.1689, allocations: 4.114 MB / 0.4892 GB, free: 164 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.1714, allocations: 3.361 MB / 0.4925 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.1718, allocations: 298.3 kB / 0.4928 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.172, allocations: 182.5 kB / 0.4929 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.172, allocations: 42.83 kB / 0.493 GB, free: 11.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.535e-06/0.172, allocations: 0 / 0.493 GB, free: 11.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002627/0.1747, allocations: 1.333 MB / 0.4943 GB, free: 10.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.1748, allocations: 136.5 kB / 0.4944 GB, free: 9.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.1752, allocations: 314.8 kB / 0.4947 GB, free: 9.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.1752, allocations: 37.7 kB / 0.4947 GB, free: 9.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.1755, allocations: 398.4 kB / 0.4951 GB, free: 9.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.1756, allocations: 228.7 kB / 0.4953 GB, free: 9.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.1759, allocations: 146.5 kB / 0.4955 GB, free: 8.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.176, allocations: 358.7 kB / 0.4958 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.1764, allocations: 201.9 kB / 0.496 GB, free: 8.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.1769, allocations: 400.6 kB / 0.4964 GB, free: 7.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/0.1778, allocations: 0.6184 MB / 0.497 GB, free: 7.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1778, allocations: 0 / 0.497 GB, free: 7.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001463/0.1792, allocations: 0.8933 MB / 0.4979 GB, free: 6.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1793, allocations: 7.938 kB / 0.4979 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.1793, allocations: 11.98 kB / 0.4979 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/0.18, allocations: 223.6 kB / 0.4981 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.1804, allocations: 135.8 kB / 0.4982 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2087/0.3891, allocations: 6.219 MB / 0.5043 GB, free: 39.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/0.3898, allocations: 94.08 kB / 0.5044 GB, free: 39.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.3898, allocations: 34.17 kB / 0.5044 GB, free: 39.38 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.0003065/0.3902, allocations: 222.9 kB / 0.5046 GB, free: 39.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.3903, allocations: 41.69 kB / 0.5047 GB, free: 39.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.3915, allocations: 0.6919 MB / 0.5054 GB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.3916, allocations: 8.234 kB / 0.5054 GB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.3916, allocations: 5.094 kB / 0.5054 GB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3916, allocations: 5.016 kB / 0.5054 GB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.3939, allocations: 1.575 MB / 0.5069 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.3939, allocations: 1.156 kB / 0.5069 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.3941, allocations: 68.09 kB / 0.507 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/0.3947, allocations: 218.8 kB / 0.5072 GB, free: 38.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.3948, allocations: 13.66 kB / 0.5072 GB, free: 38.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004033/0.3988, allocations: 6.216 MB / 0.5133 GB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3988, allocations: 1.062 kB / 0.5133 GB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.4004, allocations: 1.19 MB / 0.5144 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4005, allocations: 125 kB / 0.5146 GB, free: 32.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.4006, allocations: 17.14 kB / 0.5146 GB, free: 32.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.4009, allocations: 18.8 kB / 0.5146 GB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.401, allocations: 48.58 kB / 0.5146 GB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.4011, allocations: 23.22 kB / 0.5147 GB, free: 32.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002524/0.4013, allocations: 215.5 kB / 0.5149 GB, free: 32.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4013, allocations: 0 / 0.5149 GB, free: 32.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001097/0.4024, allocations: 279.5 kB / 0.5151 GB, free: 31.94 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.0002512/0.4027, allocations: 148.1 kB / 0.5153 GB, free: 31.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.4042, allocations: 1.073 MB / 0.5163 GB, free: 31.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4042, allocations: 0 / 0.5163 GB, free: 31.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007342/0.4049, allocations: 0.7859 MB / 0.5171 GB, free: 30.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.4056, allocations: 44.33 kB / 0.5171 GB, free: 30.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.4077, allocations: 1.635 MB / 0.5187 GB, free: 29.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.4081, allocations: 0.9108 MB / 0.5196 GB, free: 28.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.4083, allocations: 43.42 kB / 0.5197 GB, free: 28.71 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4083, allocations: 5.094 kB / 0.5197 GB, free: 28.71 MB / 382.1 MB Notification: Performance of Templates: time 0.0187/0.427, allocations: 19.41 MB / 0.5386 GB, free: 19.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/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