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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 212.4 kB / 22.98 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2578/0.2578, allocations: 44.27 MB / 330.3 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 82.17 kB / 468 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.143, allocations: 61.03 MB / 0.5166 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007195/0.1502, allocations: 4.712 MB / 0.5212 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.1533, allocations: 1.542 MB / 0.5228 GB, free: 380 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.1536, allocations: 20 kB / 0.5228 GB, free: 360 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.157, allocations: 1.482 MB / 0.5242 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000872/0.1579, allocations: 305.7 kB / 0.5245 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.1592, allocations: 0.4908 MB / 0.525 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.1604, allocations: 0.8009 MB / 0.5258 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.1614, allocations: 0.6234 MB / 0.5264 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004981/0.1619, allocations: 350.7 kB / 0.5267 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.1625, allocations: 410.1 kB / 0.5271 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.1627, allocations: 76 kB / 0.5272 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004492/0.1631, allocations: 175.9 kB / 0.5273 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.1633, allocations: 175.4 kB / 0.5275 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.1636, allocations: 346.4 kB / 0.5278 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.1653, allocations: 1.163 MB / 0.529 GB, free: 9.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1653, allocations: 4 kB / 0.529 GB, free: 9.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1653, allocations: 0 / 0.529 GB, free: 9.949 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.1654, allocations: 0 / 0.529 GB, free: 9.949 MB / 414.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.003751/0.1691, allocations: 1.285 MB / 0.5302 GB, free: 8.633 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1691, allocations: 16.03 kB / 0.5303 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.1705, allocations: 232.2 kB / 0.5305 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.1709, allocations: 206 kB / 0.5307 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.754e-05/0.1709, allocations: 74.38 kB / 0.5307 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.1711, allocations: 100.1 kB / 0.5308 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.1728, allocations: 0.9321 MB / 0.5317 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.1728, allocations: 3.953 kB / 0.5318 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-05/0.1729, allocations: 43.94 kB / 0.5318 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.1729, allocations: 24 kB / 0.5318 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.1743, allocations: 0.7182 MB / 0.5325 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/0.1792, allocations: 2.697 MB / 0.5352 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.1809, allocations: 0.7585 MB / 0.5359 GB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.1814, allocations: 268.2 kB / 0.5361 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.037e-05/0.1814, allocations: 16.31 kB / 0.5362 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.1815, allocations: 46.89 kB / 0.5362 GB, free: 2.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.916e-06/0.1815, allocations: 0 / 0.5362 GB, free: 2.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.00269/0.1842, allocations: 1.02 MB / 0.5372 GB, free: 1.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.1843, allocations: 140.5 kB / 0.5373 GB, free: 1.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/0.1847, allocations: 305.5 kB / 0.5376 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.1847, allocations: 33.7 kB / 0.5377 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.1852, allocations: 411.9 kB / 0.5381 GB, free: 356 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/0.1855, allocations: 241.9 kB / 0.5383 GB, free: 112 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2798/0.4653, allocations: 149.7 kB / 0.5384 GB, free: 28.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.4654, allocations: 348.6 kB / 0.5388 GB, free: 27.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.4657, allocations: 199.6 kB / 0.5389 GB, free: 27.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.4662, allocations: 396 kB / 0.5393 GB, free: 27.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007681/0.467, allocations: 0.6192 MB / 0.5399 GB, free: 27.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.467, allocations: 1.281 kB / 0.5399 GB, free: 27.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001526/0.4685, allocations: 0.8707 MB / 0.5408 GB, free: 27.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.4685, allocations: 8 kB / 0.5408 GB, free: 27.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4685, allocations: 8.844 kB / 0.5408 GB, free: 27.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/0.4692, allocations: 223.4 kB / 0.541 GB, free: 27.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.4697, allocations: 142.8 kB / 0.5411 GB, free: 27.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004383/0.474, allocations: 6.164 MB / 0.5472 GB, free: 22.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.4745, allocations: 83.56 kB / 0.5472 GB, free: 22.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.4745, allocations: 31.39 kB / 0.5473 GB, free: 22.02 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.0002803/0.4748, allocations: 232.7 kB / 0.5475 GB, free: 21.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4749, allocations: 45 kB / 0.5475 GB, free: 21.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.476, allocations: 0.6768 MB / 0.5482 GB, free: 21.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4761, allocations: 6.906 kB / 0.5482 GB, free: 21.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.4761, allocations: 5.938 kB / 0.5482 GB, free: 21.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4761, allocations: 4.328 kB / 0.5482 GB, free: 21.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.4781, allocations: 1.344 MB / 0.5495 GB, free: 20.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.4781, allocations: 1.906 kB / 0.5495 GB, free: 20.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.4784, allocations: 69.27 kB / 0.5496 GB, free: 20.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005115/0.4789, allocations: 211.8 kB / 0.5498 GB, free: 20.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.4789, allocations: 14.62 kB / 0.5498 GB, free: 20.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005388/0.4843, allocations: 6.159 MB / 0.5558 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4843, allocations: 1.828 kB / 0.5558 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.4863, allocations: 1.184 MB / 0.557 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.4864, allocations: 49.56 kB / 0.557 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.4865, allocations: 13.22 kB / 0.557 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.4869, allocations: 13.08 kB / 0.5571 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.487, allocations: 60.44 kB / 0.5571 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.487, allocations: 18.61 kB / 0.5571 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.4873, allocations: 193 kB / 0.5573 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4873, allocations: 1.312 kB / 0.5573 GB, free: 14.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001118/0.4884, allocations: 276.3 kB / 0.5576 GB, free: 14.11 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.0003004/0.4887, allocations: 142.6 kB / 0.5577 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.4907, allocations: 1.047 MB / 0.5587 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4907, allocations: 0 / 0.5587 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009093/0.4916, allocations: 0.7516 MB / 0.5595 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.4923, allocations: 48.14 kB / 0.5595 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.4943, allocations: 1.24 MB / 0.5607 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.4947, allocations: 320.3 kB / 0.561 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.4949, allocations: 59.91 kB / 0.5611 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.15e-05/0.495, allocations: 36.11 kB / 0.5611 GB, free: 11.85 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.495, allocations: 1 kB / 0.5611 GB, free: 11.85 MB / 414.1 MB Notification: Performance of Templates: time 0.01597/0.511, allocations: 7.461 MB / 0.5684 GB, free: 10.92 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.951249290257692]