Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009486/0.0009487, allocations: 96.56 kB / 17 MB, free: 6.355 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.001359/0.001359, allocations: 184 kB / 17.89 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.3 MB / 241.9 MB, free: 14.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 44.24 MB / 337.3 MB, free: 2.484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 7.984 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 61.94 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007973/0.1412, allocations: 4.506 MB / 476.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004458/0.1457, allocations: 1.445 MB / 477.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.1471, allocations: 20 kB / 477.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007631/0.1479, allocations: 179 kB / 477.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.149, allocations: 250.3 kB / 478 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1506, allocations: 0.5415 MB / 478.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.1518, allocations: 0.7347 MB / 479.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.1544, allocations: 1.293 MB / 480.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.155, allocations: 270.9 kB / 480.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004781/0.1554, allocations: 394.4 kB / 481.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.1555, allocations: 40 kB / 481.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.156, allocations: 147.9 kB / 481.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1561, allocations: 131.4 kB / 481.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.1563, allocations: 165.3 kB / 481.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009817/0.1573, allocations: 0.896 MB / 482.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1573, allocations: 3.938 kB / 482.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1573, allocations: 0 / 482.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1573, allocations: 0 / 482.6 MB, free: 2.566 MB / 350.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.0032/0.1605, allocations: 1.209 MB / 483.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1606, allocations: 11.97 kB / 483.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.162, allocations: 230.8 kB / 484 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1622, allocations: 250.6 kB / 484.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.1623, allocations: 78 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.1625, allocations: 107.9 kB / 484.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.1642, allocations: 0.9204 MB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.1642, allocations: 15.92 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-05/0.1643, allocations: 36 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.1643, allocations: 24 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.1656, allocations: 0.7183 MB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005305/0.1709, allocations: 3.948 MB / 490.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.1734, allocations: 3.38 MB / 493.5 MB, free: 6.559 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.1738, allocations: 295.1 kB / 493.8 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.1739, allocations: 93.42 kB / 493.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.174, allocations: 54.81 kB / 493.9 MB, free: 6.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.785e-06/0.174, allocations: 0 / 493.9 MB, free: 6.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002532/0.1765, allocations: 1.327 MB / 495.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.1766, allocations: 136.5 kB / 495.4 MB, free: 4.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.177, allocations: 318.8 kB / 495.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.177, allocations: 37.7 kB / 495.7 MB, free: 4.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.1773, allocations: 394.4 kB / 496.1 MB, free: 3.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.1774, allocations: 228.7 kB / 496.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1775, allocations: 20 kB / 496.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1776, allocations: 350.8 kB / 496.7 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.1779, allocations: 197.9 kB / 496.9 MB, free: 2.957 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.1784, allocations: 400.6 kB / 497.3 MB, free: 2.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.1788, allocations: 257.7 kB / 497.5 MB, free: 2.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.1789, allocations: 4 kB / 497.6 MB, free: 2.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001519/0.1804, allocations: 0.8737 MB / 498.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1804, allocations: 11.98 kB / 498.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.1804, allocations: 11.95 kB / 498.4 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/0.181, allocations: 223.3 kB / 498.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.1815, allocations: 143.7 kB / 498.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/0.1871, allocations: 6.233 MB / 0.4932 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.1876, allocations: 87.12 kB / 0.4933 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.1877, allocations: 28 kB / 0.4933 GB, free: 10.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004373/0.1882, allocations: 233.6 kB / 0.4935 GB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.1883, allocations: 39.53 kB / 0.4936 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.1896, allocations: 0.6945 MB / 0.4943 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1896, allocations: 11.94 kB / 0.4943 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1897, allocations: 4 kB / 0.4943 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1897, allocations: 7.984 kB / 0.4943 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.1919, allocations: 1.551 MB / 0.4958 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.192, allocations: 0 / 0.4958 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.1922, allocations: 75.91 kB / 0.4959 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004802/0.1927, allocations: 215.2 kB / 0.4961 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.1927, allocations: 12 kB / 0.4961 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004707/0.1975, allocations: 6.225 MB / 0.5022 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1975, allocations: 0 / 0.5022 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2855/0.483, allocations: 1.182 MB / 0.5033 GB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.4832, allocations: 128.8 kB / 0.5034 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.4833, allocations: 11.08 kB / 0.5034 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.4836, allocations: 18.62 kB / 0.5035 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.4838, allocations: 53.59 kB / 0.5035 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.4838, allocations: 20.44 kB / 0.5035 GB, free: 46.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003263/0.4842, allocations: 213.6 kB / 0.5037 GB, free: 46.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4842, allocations: 0 / 0.5037 GB, free: 46.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001351/0.4855, allocations: 279.7 kB / 0.504 GB, free: 46.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003196/0.4859, allocations: 141 kB / 0.5041 GB, free: 46.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.4877, allocations: 1.065 MB / 0.5052 GB, free: 45.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4878, allocations: 2.219 kB / 0.5052 GB, free: 45.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008752/0.4886, allocations: 0.793 MB / 0.506 GB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.4894, allocations: 50.27 kB / 0.506 GB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.4922, allocations: 1.55 MB / 0.5075 GB, free: 44.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.4928, allocations: 0.9106 MB / 0.5084 GB, free: 43.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.4931, allocations: 67.83 kB / 0.5085 GB, free: 43.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.4933, allocations: 37.72 kB / 0.5085 GB, free: 43.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4933, allocations: 2.406 kB / 0.5085 GB, free: 43.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01656/0.5098, allocations: 6.173 MB / 0.5145 GB, free: 43.14 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches