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.002185/0.002185, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.002142/0.002143, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.196/2.196, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.365/0.365, allocations: 44.17 MB / 336.8 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 76.22 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1848, allocations: 60.84 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.01037/0.1953, allocations: 5.285 MB / 474.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004326/0.1996, allocations: 1.561 MB / 476 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000965/0.2006, allocations: 16 kB / 476.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004805/0.2055, allocations: 1.501 MB / 477.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.2075, allocations: 262.3 kB / 477.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.2097, allocations: 0.6466 MB / 478.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.2115, allocations: 0.7619 MB / 479.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.2135, allocations: 0.6687 MB / 479.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007755/0.2143, allocations: 326.7 kB / 480.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.2154, allocations: 446.2 kB / 480.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002849/0.2157, allocations: 60 kB / 480.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009047/0.2166, allocations: 167.9 kB / 480.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.2169, allocations: 159.4 kB / 481 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008463/0.2177, allocations: 417.9 kB / 481.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.2193, allocations: 0.9078 MB / 482.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2194, allocations: 0 / 482.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2194, allocations: 0 / 482.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.204e-05/0.2195, allocations: 0 / 482.3 MB, free: 1.609 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.00596/0.2254, allocations: 1.361 MB / 483.7 MB, free: 200 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.2255, allocations: 12.03 kB / 483.7 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.2279, allocations: 223.8 kB / 483.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.2284, allocations: 247.8 kB / 484.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.2286, allocations: 78.56 kB / 484.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/0.2289, allocations: 107.8 kB / 484.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.2313, allocations: 0.9322 MB / 485.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.2314, allocations: 0 / 485.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.2315, allocations: 47.92 kB / 485.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.2316, allocations: 31.88 kB / 485.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.2334, allocations: 0.7184 MB / 486.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006835/0.2403, allocations: 3.952 MB / 490 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/0.2437, allocations: 3.375 MB / 493.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005738/0.2443, allocations: 296.7 kB / 493.7 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.2445, allocations: 97.41 kB / 493.8 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.2445, allocations: 42.83 kB / 493.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 4.618e-06/0.2445, allocations: 4 kB / 493.8 MB, free: 4.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003687/0.2482, allocations: 1.321 MB / 495.2 MB, free: 3.566 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.2483, allocations: 136.5 kB / 495.3 MB, free: 3.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.2489, allocations: 318.8 kB / 495.6 MB, free: 3.082 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.249, allocations: 33.7 kB / 495.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.2493, allocations: 398.4 kB / 496 MB, free: 2.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.2495, allocations: 236.7 kB / 496.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.2498, allocations: 146.5 kB / 496.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.25, allocations: 350.7 kB / 496.7 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.2505, allocations: 201.9 kB / 496.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007006/0.2512, allocations: 400.6 kB / 497.3 MB, free: 1.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.2525, allocations: 0.6231 MB / 498 MB, free: 0.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.2525, allocations: 4 kB / 498 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002069/0.2546, allocations: 0.8815 MB / 498.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.2546, allocations: 12.09 kB / 498.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.2547, allocations: 4 kB / 498.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008593/0.2555, allocations: 223.2 kB / 499.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.2562, allocations: 135.8 kB / 499.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007377/0.2636, allocations: 6.244 MB / 0.4936 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/0.2644, allocations: 87.05 kB / 0.4937 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/0.2645, allocations: 43.88 kB / 0.4937 GB, free: 8.355 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 (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.000504/0.2651, allocations: 217.7 kB / 0.4939 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.2653, allocations: 39.53 kB / 0.494 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.2671, allocations: 0.6948 MB / 0.4947 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.2671, allocations: 8 kB / 0.4947 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.2671, allocations: 4 kB / 0.4947 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.2672, allocations: 7.922 kB / 0.4947 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/0.2708, allocations: 1.573 MB / 0.4962 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2709, allocations: 0 / 0.4962 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.2712, allocations: 71.91 kB / 0.4963 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007613/0.272, allocations: 211.2 kB / 0.4965 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.2721, allocations: 15.98 kB / 0.4965 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3865/0.6586, allocations: 6.206 MB / 0.5026 GB, free: 47.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6587, allocations: 2.938 kB / 0.5026 GB, free: 47.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.6612, allocations: 1.186 MB / 0.5037 GB, free: 47.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.6615, allocations: 128.4 kB / 0.5038 GB, free: 47.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.6616, allocations: 14.69 kB / 0.5039 GB, free: 47.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.662, allocations: 13.64 kB / 0.5039 GB, free: 47.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.6622, allocations: 55.36 kB / 0.5039 GB, free: 47.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/0.6623, allocations: 21.62 kB / 0.5039 GB, free: 47.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003724/0.6626, allocations: 212.7 kB / 0.5041 GB, free: 47.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6627, allocations: 0 / 0.5041 GB, free: 47.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001345/0.664, allocations: 278.7 kB / 0.5044 GB, free: 47.23 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 (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.0002926/0.6643, allocations: 142.7 kB / 0.5045 GB, free: 47.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.666, allocations: 1.075 MB / 0.5056 GB, free: 46.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6661, allocations: 0 / 0.5056 GB, free: 46.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008389/0.6669, allocations: 0.7761 MB / 0.5064 GB, free: 46.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007922/0.6677, allocations: 46.97 kB / 0.5064 GB, free: 46.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.6701, allocations: 1.632 MB / 0.508 GB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.6706, allocations: 0.9137 MB / 0.5089 GB, free: 44.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.6708, allocations: 44.98 kB / 0.5089 GB, free: 44.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6708, allocations: 0 / 0.5089 GB, free: 44.3 MB / 382.1 MB Notification: Performance of Templates: time 0.0235/0.6943, allocations: 19.39 MB / 0.5279 GB, free: 35.57 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/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