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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000918/0.000918, allocations: 108.7 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3271/0.3271, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009811/0.0009812, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1113, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00621/0.1176, allocations: 5.259 MB / 492.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.1201, allocations: 1.616 MB / 493.9 MB, free: 5.625 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.1206, allocations: 20 kB / 493.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.1236, allocations: 1.498 MB / 495.4 MB, free: 4.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006562/0.1242, allocations: 258.3 kB / 495.7 MB, free: 3.848 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1254, allocations: 0.6466 MB / 496.3 MB, free: 3.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007011/0.1261, allocations: 0.7775 MB / 497.1 MB, free: 2.418 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009442/0.127, allocations: 0.6687 MB / 497.8 MB, free: 1.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.1274, allocations: 326.7 kB / 498.1 MB, free: 1.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004603/0.1279, allocations: 454.2 kB / 498.5 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.649e-05/0.128, allocations: 56 kB / 498.6 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.1283, allocations: 175.8 kB / 498.7 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1284, allocations: 159.3 kB / 498.9 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.1287, allocations: 406 kB / 499.3 MB, free: 192 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009597/0.1297, allocations: 1.121 MB / 0.4887 GB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1297, allocations: 0 / 0.4887 GB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1297, allocations: 0 / 0.4887 GB, free: 15.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1297, allocations: 0 / 0.4887 GB, free: 15.06 MB / 394.7 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.003194/0.1329, allocations: 1.354 MB / 0.49 GB, free: 13.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.133, allocations: 8.031 kB / 0.49 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.1342, allocations: 227.7 kB / 0.4902 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1344, allocations: 267.7 kB / 0.4905 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1346, allocations: 78.56 kB / 0.4906 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.1347, allocations: 103.9 kB / 0.4907 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.1361, allocations: 0.9283 MB / 0.4916 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.1361, allocations: 11.89 kB / 0.4916 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.1362, allocations: 40 kB / 0.4916 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.1362, allocations: 24 kB / 0.4916 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.1374, allocations: 0.7184 MB / 0.4923 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/0.1418, allocations: 3.937 MB / 0.4962 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.1441, allocations: 3.395 MB / 0.4995 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.1445, allocations: 288.5 kB / 0.4998 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.1446, allocations: 97.42 kB / 0.4999 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1447, allocations: 50.81 kB / 0.4999 GB, free: 2.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 2.434e-06/0.1447, allocations: 0 / 0.4999 GB, free: 2.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.002551/0.1472, allocations: 1.324 MB / 0.5012 GB, free: 1.016 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.1473, allocations: 136.5 kB / 0.5013 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.1477, allocations: 310.8 kB / 0.5016 GB, free: 0.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.1478, allocations: 45.64 kB / 0.5017 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.148, allocations: 406.2 kB / 0.5021 GB, free: 88 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1771/0.3251, allocations: 221.1 kB / 0.5023 GB, free: 60.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.3254, allocations: 148 kB / 0.5024 GB, free: 60.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.3255, allocations: 351.7 kB / 0.5028 GB, free: 59.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.3259, allocations: 201.5 kB / 0.503 GB, free: 59.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.3263, allocations: 399.7 kB / 0.5033 GB, free: 59.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/0.3273, allocations: 0.6249 MB / 0.5039 GB, free: 59.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3273, allocations: 2.812 kB / 0.5039 GB, free: 59.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0017/0.329, allocations: 0.8768 MB / 0.5048 GB, free: 59.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.329, allocations: 7.531 kB / 0.5048 GB, free: 59.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.329, allocations: 5.344 kB / 0.5048 GB, free: 59.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007318/0.3298, allocations: 227.6 kB / 0.505 GB, free: 59.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.3303, allocations: 144.7 kB / 0.5052 GB, free: 59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.3344, allocations: 6.229 MB / 0.5113 GB, free: 53.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.3349, allocations: 85.64 kB / 0.5113 GB, free: 53.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.3349, allocations: 35.48 kB / 0.5114 GB, free: 53.15 MB / 394.7 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.0002723/0.3352, allocations: 223.2 kB / 0.5116 GB, free: 52.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.3353, allocations: 44.8 kB / 0.5116 GB, free: 52.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.3365, allocations: 0.6939 MB / 0.5123 GB, free: 52.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.3365, allocations: 8.25 kB / 0.5123 GB, free: 52.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3365, allocations: 4.125 kB / 0.5123 GB, free: 52.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3365, allocations: 4.188 kB / 0.5123 GB, free: 52.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/0.3392, allocations: 1.569 MB / 0.5138 GB, free: 51.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.3392, allocations: 5.438 kB / 0.5139 GB, free: 51.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.3395, allocations: 69.14 kB / 0.5139 GB, free: 51.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000601/0.3401, allocations: 213.5 kB / 0.5141 GB, free: 51.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.3401, allocations: 13.55 kB / 0.5141 GB, free: 51.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/0.3442, allocations: 6.227 MB / 0.5202 GB, free: 45.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3442, allocations: 2.969 kB / 0.5202 GB, free: 45.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.3464, allocations: 2.393 MB / 0.5226 GB, free: 44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.3465, allocations: 128.1 kB / 0.5227 GB, free: 43.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.3465, allocations: 11.16 kB / 0.5227 GB, free: 43.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.3469, allocations: 14.16 kB / 0.5227 GB, free: 43.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.347, allocations: 53.05 kB / 0.5228 GB, free: 43.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.347, allocations: 20.28 kB / 0.5228 GB, free: 43.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.3472, allocations: 214.9 kB / 0.523 GB, free: 43.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3472, allocations: 7.594 kB / 0.523 GB, free: 43.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001146/0.3484, allocations: 292.4 kB / 0.5233 GB, free: 43.64 MB / 394.7 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.0002185/0.3486, allocations: 144 kB / 0.5234 GB, free: 43.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.3499, allocations: 1.076 MB / 0.5245 GB, free: 42.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.3499, allocations: 1.375 kB / 0.5245 GB, free: 42.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006983/0.3506, allocations: 0.7745 MB / 0.5252 GB, free: 42.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.3513, allocations: 47.06 kB / 0.5253 GB, free: 42.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.3533, allocations: 1.942 MB / 0.5272 GB, free: 40.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.3537, allocations: 0.9249 MB / 0.5281 GB, free: 40.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.354, allocations: 75.47 kB / 0.5281 GB, free: 40.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/0.354, allocations: 33.12 kB / 0.5282 GB, free: 40.13 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.354, allocations: 0 / 0.5282 GB, free: 40.13 MB / 394.7 MB Notification: Performance of Templates: time 0.009584/0.3636, allocations: 6.694 MB / 0.5347 GB, free: 39.65 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches