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.0009384/0.0009386, allocations: 95.34 kB / 16.98 MB, free: 5.934 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.0009304/0.0009305, allocations: 180.1 kB / 17.87 MB, free: 5.613 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.504/1.504, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004643, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1653, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005027/0.1704, allocations: 4.195 MB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.1734, allocations: 1.476 MB / 477.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005373/0.174, allocations: 24 kB / 477.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.1747, allocations: 171 kB / 477.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009908/0.1757, allocations: 291.2 kB / 477.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.1772, allocations: 0.5526 MB / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.1785, allocations: 0.5535 MB / 478.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/0.1809, allocations: 1.26 MB / 480 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006177/0.1816, allocations: 270.9 kB / 480.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006899/0.1823, allocations: 374.5 kB / 480.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.439e-05/0.1824, allocations: 43.94 kB / 480.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005714/0.183, allocations: 135.8 kB / 480.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1831, allocations: 127.5 kB / 480.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.1833, allocations: 173.3 kB / 481.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.1843, allocations: 0.8922 MB / 482 MB, free: 3.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1844, allocations: 0 / 482 MB, free: 3.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1844, allocations: 0 / 482 MB, free: 3.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1844, allocations: 0 / 482 MB, free: 3.168 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.00323/0.1876, allocations: 1.209 MB / 483.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1877, allocations: 8.031 kB / 483.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.1891, allocations: 226.8 kB / 483.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.1894, allocations: 250.6 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.1895, allocations: 82 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.1897, allocations: 107.9 kB / 483.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.1912, allocations: 0.9126 MB / 484.7 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.1913, allocations: 4 kB / 484.7 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/0.1913, allocations: 43.98 kB / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.1914, allocations: 24 kB / 484.8 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.1926, allocations: 0.7222 MB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/0.1976, allocations: 3.952 MB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.2003, allocations: 3.368 MB / 492.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.2004, allocations: 97.36 kB / 492.9 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.2005, allocations: 42.88 kB / 493 MB, free: 7.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 3.026e-06/0.2005, allocations: 0 / 493 MB, free: 7.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.002658/0.2032, allocations: 1.328 MB / 494.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.2032, allocations: 132.5 kB / 494.4 MB, free: 5.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.2036, allocations: 322.7 kB / 494.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.2037, allocations: 33.7 kB / 494.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.2039, allocations: 394.5 kB / 495.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.2041, allocations: 232.6 kB / 495.4 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.2041, allocations: 20 kB / 495.4 MB, free: 4.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2043, allocations: 354.7 kB / 495.8 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.2046, allocations: 201.9 kB / 496 MB, free: 3.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.2051, allocations: 392.6 kB / 496.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.2055, allocations: 261.7 kB / 496.6 MB, free: 3.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.2055, allocations: 4 kB / 496.6 MB, free: 3.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001423/0.207, allocations: 0.8772 MB / 497.5 MB, free: 2.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.207, allocations: 4 kB / 497.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.207, allocations: 8 kB / 497.5 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/0.2076, allocations: 227.6 kB / 497.7 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.2081, allocations: 139.8 kB / 497.9 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/0.2135, allocations: 6.316 MB / 0.4924 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.2141, allocations: 83.12 kB / 0.4924 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.2141, allocations: 35.98 kB / 0.4925 GB, free: 10.91 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.0003601/0.2145, allocations: 221.7 kB / 0.4927 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.2146, allocations: 51.48 kB / 0.4927 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.2158, allocations: 0.6792 MB / 0.4934 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.2159, allocations: 8 kB / 0.4934 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2159, allocations: 4 kB / 0.4934 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2159, allocations: 3.984 kB / 0.4934 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.2182, allocations: 1.563 MB / 0.4949 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.2183, allocations: 0 / 0.4949 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.2185, allocations: 67.91 kB / 0.495 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005066/0.219, allocations: 215.2 kB / 0.4952 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.2191, allocations: 16 kB / 0.4952 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005384/0.2245, allocations: 6.301 MB / 0.5014 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.2245, allocations: 3.984 kB / 0.5014 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2825/0.507, allocations: 1.204 MB / 0.5026 GB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.5073, allocations: 131.2 kB / 0.5027 GB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5074, allocations: 13.45 kB / 0.5027 GB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.5079, allocations: 14.98 kB / 0.5027 GB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.5081, allocations: 52.88 kB / 0.5028 GB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.5082, allocations: 18.09 kB / 0.5028 GB, free: 46.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003146/0.5085, allocations: 215.1 kB / 0.503 GB, free: 46.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5085, allocations: 1 kB / 0.503 GB, free: 46.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001174/0.5097, allocations: 273.2 kB / 0.5032 GB, free: 46.29 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.0002673/0.5099, allocations: 144.2 kB / 0.5034 GB, free: 46.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.5117, allocations: 1.081 MB / 0.5044 GB, free: 45.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5117, allocations: 0 / 0.5044 GB, free: 45.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009514/0.5126, allocations: 0.7892 MB / 0.5052 GB, free: 45.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.5131, allocations: 35.38 kB / 0.5052 GB, free: 45.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.5158, allocations: 1.554 MB / 0.5068 GB, free: 44.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/0.5164, allocations: 0.9287 MB / 0.5077 GB, free: 43.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003262/0.5168, allocations: 67.73 kB / 0.5077 GB, free: 43.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.726e-05/0.5169, allocations: 35.42 kB / 0.5078 GB, free: 43.74 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5169, allocations: 0 / 0.5078 GB, free: 43.74 MB / 382.1 MB Notification: Performance of Templates: time 0.0147/0.5316, allocations: 6.169 MB / 0.5138 GB, free: 43.33 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","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches