Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00106/0.00106, allocations: 113.7 kB / 17.04 MB, free: 6.129 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.001102/0.001102, allocations: 195.1 kB / 17.98 MB, free: 5.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 223.9 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1951/0.1951, allocations: 43.52 MB / 314.7 MB, free: 500 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.41 kB / 442.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1109, allocations: 57.8 MB / 0.4885 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005759/0.1167, allocations: 5.274 MB / 0.4936 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.1195, allocations: 1.616 MB / 0.4952 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.1199, allocations: 20 kB / 0.4952 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00314/0.1231, allocations: 1.595 MB / 0.4968 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008669/0.1239, allocations: 305.7 kB / 0.4971 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1252, allocations: 0.6852 MB / 0.4977 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007768/0.126, allocations: 0.8087 MB / 0.4985 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000955/0.127, allocations: 0.7328 MB / 0.4993 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003573/0.1273, allocations: 334.8 kB / 0.4996 GB, free: 448 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005065/0.1279, allocations: 458.2 kB / 0.5 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.934e-05/0.1279, allocations: 76 kB / 0.5001 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.1284, allocations: 195.8 kB / 0.5003 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1285, allocations: 175.3 kB / 0.5004 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.1288, allocations: 429.9 kB / 0.5008 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1299, allocations: 1.145 MB / 0.502 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1299, allocations: 7.875 kB / 0.502 GB, free: 13.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1299, allocations: 0 / 0.502 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.13, allocations: 7.938 kB / 0.502 GB, free: 13.96 MB / 398.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.003159/0.1331, allocations: 1.342 MB / 0.5033 GB, free: 12.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1332, allocations: 15.89 kB / 0.5033 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.1346, allocations: 231.7 kB / 0.5035 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1348, allocations: 255.8 kB / 0.5038 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.1349, allocations: 74.38 kB / 0.5038 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.135, allocations: 100.1 kB / 0.5039 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.1364, allocations: 0.9283 MB / 0.5048 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.1365, allocations: 7.891 kB / 0.5048 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/0.1366, allocations: 44 kB / 0.5049 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.1366, allocations: 31.94 kB / 0.5049 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.1377, allocations: 0.7145 MB / 0.5056 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004532/0.1423, allocations: 3.89 MB / 0.5094 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.1449, allocations: 3.39 MB / 0.5127 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.1453, allocations: 295.6 kB / 0.513 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.1454, allocations: 93.42 kB / 0.5131 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1454, allocations: 50.77 kB / 0.5131 GB, free: 1.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.625e-06/0.1454, allocations: 0 / 0.5131 GB, free: 1.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.00254/0.148, allocations: 1.33 MB / 0.5144 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.1481, allocations: 136.5 kB / 0.5146 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.1484, allocations: 314.7 kB / 0.5149 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.1485, allocations: 41.7 kB / 0.5149 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.1487, allocations: 398.3 kB / 0.5153 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.1489, allocations: 228.7 kB / 0.5155 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.1491, allocations: 146.5 kB / 0.5157 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1492, allocations: 350.8 kB / 0.516 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.1495, allocations: 197.9 kB / 0.5162 GB, free: 14.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.15, allocations: 404.6 kB / 0.5166 GB, free: 13.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.1508, allocations: 0.6271 MB / 0.5172 GB, free: 12.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.1508, allocations: 4 kB / 0.5172 GB, free: 12.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001427/0.1522, allocations: 0.8774 MB / 0.518 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1523, allocations: 8 kB / 0.518 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1523, allocations: 8 kB / 0.5181 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006371/0.1529, allocations: 227.4 kB / 0.5183 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.1534, allocations: 135.8 kB / 0.5184 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005214/0.1586, allocations: 6.705 MB / 0.5249 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.1591, allocations: 79.12 kB / 0.525 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.1592, allocations: 32.12 kB / 0.5251 GB, free: 4.289 MB / 414.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.0003062/0.1595, allocations: 230.8 kB / 0.5253 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.1596, allocations: 43.53 kB / 0.5253 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.1608, allocations: 0.7026 MB / 0.526 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.1608, allocations: 8 kB / 0.526 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1608, allocations: 4 kB / 0.526 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1608, allocations: 3.984 kB / 0.526 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.163, allocations: 1.558 MB / 0.5275 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-06/0.163, allocations: 4 kB / 0.5275 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.1633, allocations: 63.91 kB / 0.5276 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/0.1638, allocations: 219.2 kB / 0.5278 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.1638, allocations: 16.19 kB / 0.5278 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2286/0.3924, allocations: 6.679 MB / 0.5343 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.3925, allocations: 5.125 kB / 0.5344 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.3943, allocations: 1.188 MB / 0.5355 GB, free: 34.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.3945, allocations: 125.2 kB / 0.5356 GB, free: 33.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.3945, allocations: 18.84 kB / 0.5357 GB, free: 33.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.3948, allocations: 15.08 kB / 0.5357 GB, free: 33.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.395, allocations: 66.11 kB / 0.5357 GB, free: 33.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.395, allocations: 16.12 kB / 0.5357 GB, free: 33.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.3953, allocations: 210.1 kB / 0.5359 GB, free: 33.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.162e-06/0.3953, allocations: 0.875 kB / 0.5359 GB, free: 33.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001066/0.3964, allocations: 283.7 kB / 0.5362 GB, free: 33.88 MB / 414.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.0002449/0.3966, allocations: 136.2 kB / 0.5363 GB, free: 33.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.3981, allocations: 1.078 MB / 0.5374 GB, free: 33.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3982, allocations: 1.938 kB / 0.5374 GB, free: 33.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007967/0.399, allocations: 0.7743 MB / 0.5382 GB, free: 32.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.3996, allocations: 50.27 kB / 0.5382 GB, free: 32.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.4017, allocations: 1.248 MB / 0.5394 GB, free: 32.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.4022, allocations: 0.9129 MB / 0.5403 GB, free: 31.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4023, allocations: 40.62 kB / 0.5404 GB, free: 31.57 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4024, allocations: 4 kB / 0.5404 GB, free: 31.57 MB / 414.1 MB Notification: Performance of Templates: time 0.02483/0.4272, allocations: 19.37 MB / 0.5593 GB, free: 24.49 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches