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.001613/0.001613, allocations: 104.5 kB / 16.64 MB, free: 6.812 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.001921/0.001921, allocations: 190.5 kB / 17.56 MB, free: 5.922 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.356/1.356, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.2079/0.2079, allocations: 43.51 MB / 314.3 MB, free: 0.707 MB / 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.001392/0.001392, allocations: 67.31 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08452/0.08592, allocations: 57.79 MB / 440.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004455/0.09042, allocations: 5.256 MB / 445.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.09256, allocations: 1.593 MB / 447.5 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.09285, allocations: 23.94 kB / 447.5 MB, free: 456 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.09579, allocations: 1.506 MB / 449 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007494/0.09655, allocations: 262.4 kB / 449.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.09778, allocations: 0.6308 MB / 449.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008114/0.0986, allocations: 0.7931 MB / 450.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.09971, allocations: 0.8381 MB / 451.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.1001, allocations: 334.8 kB / 451.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.1006, allocations: 462.2 kB / 452.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.1007, allocations: 76 kB / 452.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.1011, allocations: 191.8 kB / 452.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1012, allocations: 179.3 kB / 452.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.1016, allocations: 421.9 kB / 453.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008725/0.1024, allocations: 0.9078 MB / 454.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1025, allocations: 0 / 454.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1025, allocations: 4 kB / 454.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1025, allocations: 0 / 454.1 MB, free: 9.852 MB / 334.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.003089/0.1056, allocations: 1.354 MB / 455.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1056, allocations: 15.89 kB / 455.5 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.107, allocations: 227.7 kB / 455.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1072, allocations: 259.7 kB / 455.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.1074, allocations: 82.56 kB / 456 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.1075, allocations: 99.94 kB / 456.1 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.109, allocations: 0.9321 MB / 457.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.109, allocations: 7.891 kB / 457.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/0.1091, allocations: 44 kB / 457.1 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.1091, allocations: 24 kB / 457.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.1103, allocations: 0.7223 MB / 457.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.1148, allocations: 3.929 MB / 461.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.1172, allocations: 3.38 MB / 465.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.1176, allocations: 294.3 kB / 465.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.235e-05/0.1177, allocations: 93.44 kB / 465.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.1177, allocations: 54.86 kB / 465.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.355e-06/0.1177, allocations: 0 / 465.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.002504/0.1202, allocations: 1.316 MB / 466.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.1203, allocations: 144.5 kB / 467 MB, free: 11.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.1207, allocations: 318.8 kB / 467.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1207, allocations: 37.64 kB / 467.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.121, allocations: 402.3 kB / 467.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.1211, allocations: 228.7 kB / 468 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.1214, allocations: 150.5 kB / 468.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1215, allocations: 354.7 kB / 468.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.1218, allocations: 201.9 kB / 468.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.1223, allocations: 400.6 kB / 469.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007707/0.1231, allocations: 0.6233 MB / 469.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.1231, allocations: 4 kB / 469.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001381/0.1245, allocations: 0.8773 MB / 470.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.1245, allocations: 8 kB / 470.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1245, allocations: 4 kB / 470.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.1252, allocations: 231.5 kB / 470.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.1256, allocations: 143.8 kB / 471 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/0.1308, allocations: 6.705 MB / 477.7 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.1313, allocations: 83.12 kB / 477.8 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.1314, allocations: 32 kB / 477.8 MB, free: 120 kB / 350.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.0003282/0.1317, allocations: 232.1 kB / 478 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.1319, allocations: 39.53 kB / 478.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.1331, allocations: 0.6987 MB / 478.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1331, allocations: 8 kB / 478.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1331, allocations: 8 kB / 478.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.1331, allocations: 3.984 kB / 478.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.1354, allocations: 1.573 MB / 480.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1354, allocations: 0 / 480.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.1356, allocations: 75.89 kB / 480.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005093/0.1362, allocations: 215.2 kB / 480.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.1362, allocations: 16 kB / 480.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005248/0.1415, allocations: 6.698 MB / 487.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1415, allocations: 3.938 kB / 487.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.143, allocations: 1.178 MB / 488.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.1431, allocations: 132.4 kB / 488.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.1432, allocations: 12 kB / 488.7 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.1435, allocations: 12 kB / 488.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.1436, allocations: 63.86 kB / 488.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.1436, allocations: 16 kB / 488.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.1439, allocations: 221.9 kB / 489 MB, free: 4.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1439, allocations: 4 kB / 489 MB, free: 4.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001007/0.1449, allocations: 267.2 kB / 489.2 MB, free: 3.945 MB / 366.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.000235/0.1451, allocations: 143.2 kB / 489.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.1467, allocations: 1.104 MB / 490.5 MB, free: 2.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1467, allocations: 0 / 490.5 MB, free: 2.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.1475, allocations: 0.7797 MB / 491.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.1482, allocations: 36.56 kB / 491.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.1505, allocations: 1.638 MB / 492.9 MB, free: 88 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.151, allocations: 0.9072 MB / 493.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.1512, allocations: 51.36 kB / 493.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1512, allocations: 0 / 493.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of Templates: time 0.01914/0.1703, allocations: 19.36 MB / 0.5012 GB, free: 11.71 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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