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.001692/0.001692, allocations: 107.6 kB / 16.41 MB, free: 6.027 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.001679/0.001679, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.721/1.721, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2218/0.2218, allocations: 43.53 MB / 314.1 MB, free: 456 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.00153/0.00153, allocations: 71.89 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1234, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006813/0.1303, allocations: 5.27 MB / 0.493 GB, free: 6.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.1335, allocations: 1.62 MB / 0.4946 GB, free: 4.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007255/0.1343, allocations: 16 kB / 0.4946 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00363/0.1379, allocations: 1.595 MB / 0.4962 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.1392, allocations: 313.6 kB / 0.4965 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.1408, allocations: 0.6735 MB / 0.4971 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.1421, allocations: 0.8086 MB / 0.4979 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.1437, allocations: 0.7328 MB / 0.4986 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00073/0.1444, allocations: 334.7 kB / 0.499 GB, free: 392 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009467/0.1454, allocations: 466.2 kB / 0.4994 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.1456, allocations: 76 kB / 0.4995 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007798/0.1464, allocations: 191.9 kB / 0.4997 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.1467, allocations: 179.3 kB / 0.4998 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006702/0.1474, allocations: 425.9 kB / 0.5002 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.149, allocations: 1.152 MB / 0.5014 GB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.149, allocations: 4 kB / 0.5014 GB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.149, allocations: 0 / 0.5014 GB, free: 13.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.1491, allocations: 0 / 0.5014 GB, free: 13.91 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.00341/0.1525, allocations: 1.349 MB / 0.5027 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1525, allocations: 11.89 kB / 0.5027 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.1539, allocations: 227.7 kB / 0.5029 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1542, allocations: 263.7 kB / 0.5032 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/0.1543, allocations: 78.38 kB / 0.5032 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.1544, allocations: 104.1 kB / 0.5033 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.156, allocations: 0.9282 MB / 0.5042 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.156, allocations: 7.906 kB / 0.5043 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/0.1561, allocations: 36 kB / 0.5043 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.1561, allocations: 28 kB / 0.5043 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.1574, allocations: 0.726 MB / 0.505 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004814/0.1622, allocations: 3.894 MB / 0.5088 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.1648, allocations: 3.384 MB / 0.5121 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.1653, allocations: 294.7 kB / 0.5124 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.1654, allocations: 97.36 kB / 0.5125 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1655, allocations: 46.89 kB / 0.5126 GB, free: 1.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.574e-06/0.1655, allocations: 4 kB / 0.5126 GB, free: 1.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002656/0.1681, allocations: 1.334 MB / 0.5139 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.1682, allocations: 136.5 kB / 0.514 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.1686, allocations: 318.8 kB / 0.5143 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.1686, allocations: 33.7 kB / 0.5143 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.1689, allocations: 398.4 kB / 0.5147 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.169, allocations: 232.7 kB / 0.5149 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.1693, allocations: 146.5 kB / 0.5151 GB, free: 14.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1694, allocations: 354.8 kB / 0.5154 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.1698, allocations: 197.9 kB / 0.5156 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.1703, allocations: 392.7 kB / 0.516 GB, free: 13.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00088/0.1712, allocations: 0.6349 MB / 0.5166 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1712, allocations: 0 / 0.5166 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001439/0.1726, allocations: 0.8736 MB / 0.5174 GB, free: 11.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1727, allocations: 14.75 kB / 0.5175 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1727, allocations: 4 kB / 0.5175 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006453/0.1733, allocations: 227.2 kB / 0.5177 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.1738, allocations: 139.8 kB / 0.5178 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/0.1797, allocations: 6.709 MB / 0.5244 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.1802, allocations: 79.19 kB / 0.5244 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.1802, allocations: 39.98 kB / 0.5245 GB, free: 4.207 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.0003366/0.1806, allocations: 222.9 kB / 0.5247 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.1807, allocations: 43.53 kB / 0.5247 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.182, allocations: 0.6947 MB / 0.5254 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.182, allocations: 8 kB / 0.5254 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.577e-06/0.182, allocations: 4 kB / 0.5254 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.182, allocations: 11.92 kB / 0.5254 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.1845, allocations: 1.554 MB / 0.5269 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1845, allocations: 0 / 0.5269 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1848, allocations: 71.91 kB / 0.527 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005341/0.1853, allocations: 211.2 kB / 0.5272 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.1854, allocations: 16 kB / 0.5272 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.279/0.4644, allocations: 6.688 MB / 0.5338 GB, free: 34.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4644, allocations: 5.328 kB / 0.5338 GB, free: 34.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.4663, allocations: 1.186 MB / 0.5349 GB, free: 33.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.4666, allocations: 126.9 kB / 0.535 GB, free: 33.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.303e-05/0.4667, allocations: 17.39 kB / 0.5351 GB, free: 33.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.4671, allocations: 12.19 kB / 0.5351 GB, free: 33.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.4673, allocations: 64.78 kB / 0.5351 GB, free: 33.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.4674, allocations: 17.12 kB / 0.5352 GB, free: 33.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003656/0.4677, allocations: 210.5 kB / 0.5354 GB, free: 33.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4677, allocations: 4.75 kB / 0.5354 GB, free: 33.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00157/0.4693, allocations: 281 kB / 0.5356 GB, free: 33.65 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.0004504/0.4698, allocations: 132.3 kB / 0.5358 GB, free: 33.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.4722, allocations: 1.077 MB / 0.5368 GB, free: 33.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4722, allocations: 0 / 0.5368 GB, free: 33.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009965/0.4732, allocations: 0.7739 MB / 0.5376 GB, free: 32.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.4743, allocations: 44.34 kB / 0.5376 GB, free: 32.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.4774, allocations: 1.229 MB / 0.5388 GB, free: 32.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/0.4781, allocations: 0.913 MB / 0.5397 GB, free: 31.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002982/0.4784, allocations: 67.42 kB / 0.5398 GB, free: 31.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4785, allocations: 33.3 kB / 0.5398 GB, free: 31.37 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4785, allocations: 0 / 0.5398 GB, free: 31.37 MB / 414.1 MB Notification: Performance of Templates: time 0.02391/0.5024, allocations: 6.802 MB / 0.5464 GB, free: 30.88 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/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