Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.00181/0.00181, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002236/0.002236, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.69/1.69, allocations: 177.2 MB / 204.9 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 55.19 kB / 325.6 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.09097, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00428/0.09525, allocations: 2.662 MB / 381.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.09734, allocations: 1.141 MB / 382.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.09752, allocations: 12 kB / 382.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.09915, allocations: 0.5913 MB / 383.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.09952, allocations: 147 kB / 383.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.1008, allocations: 0.6107 MB / 384.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.1012, allocations: 298.6 kB / 384.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004196/0.1017, allocations: 239.1 kB / 384.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1019, allocations: 131.5 kB / 384.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1021, allocations: 151.4 kB / 384.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.1021, allocations: 27.98 kB / 384.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.1025, allocations: 175.8 kB / 385.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.1025, allocations: 55.83 kB / 385.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.1027, allocations: 119.5 kB / 385.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.1033, allocations: 0.4982 MB / 385.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1033, allocations: 0 / 385.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1033, allocations: 4 kB / 385.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1033, allocations: 0 / 385.7 MB, free: 8.832 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00163/0.1049, allocations: 0.6573 MB / 386.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.105, allocations: 12.03 kB / 386.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008573/0.1058, allocations: 124.6 kB / 386.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.1062, allocations: 202 kB / 386.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.1062, allocations: 25.03 kB / 386.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.1063, allocations: 36.31 kB / 386.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.1068, allocations: 333 kB / 387.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1068, allocations: 7.875 kB / 387.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.1069, allocations: 15.98 kB / 387.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1069, allocations: 8 kB / 387.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.1073, allocations: 238.5 kB / 387.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.1091, allocations: 1.04 MB / 388.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.1096, allocations: 226.6 kB / 388.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.1098, allocations: 88.83 kB / 388.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.1099, allocations: 19.98 kB / 388.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1099, allocations: 34.5 kB / 388.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.1099, allocations: 4 kB / 388.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001244/0.1111, allocations: 417.3 kB / 389.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1112, allocations: 51.41 kB / 389.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1114, allocations: 173.1 kB / 389.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1114, allocations: 29.7 kB / 389.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1115, allocations: 184.3 kB / 389.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.1116, allocations: 83.27 kB / 389.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.1117, allocations: 57.94 kB / 389.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1118, allocations: 326.8 kB / 390.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1119, allocations: 72.53 kB / 390.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.1121, allocations: 136.9 kB / 390.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.1124, allocations: 213.1 kB / 390.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1124, allocations: 0 / 390.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005962/0.113, allocations: 328.3 kB / 390.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.113, allocations: 10.97 kB / 390.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.113, allocations: 0 / 390.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003152/0.1134, allocations: 84.95 kB / 390.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.1135, allocations: 43.98 kB / 390.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.1157, allocations: 1.891 MB / 392.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.1159, allocations: 27.81 kB / 392.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.1159, allocations: 12 kB / 392.9 MB, free: 1.328 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.1161, allocations: 149.8 kB / 393 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.1161, allocations: 15.89 kB / 393 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.1167, allocations: 287.3 kB / 393.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.1167, allocations: 4 kB / 393.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1167, allocations: 4 kB / 393.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1167, allocations: 0 / 393.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009298/0.1176, allocations: 0.5769 MB / 393.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1176, allocations: 0 / 393.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.1177, allocations: 31.92 kB / 393.9 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/0.118, allocations: 68.81 kB / 394 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.118, allocations: 11.98 kB / 394 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.12, allocations: 1.896 MB / 395.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.12, allocations: 0 / 395.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.1207, allocations: 452.1 kB / 396.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.1208, allocations: 39.8 kB / 396.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.1208, allocations: 4 kB / 396.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1209, allocations: 4 kB / 396.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.121, allocations: 23.95 kB / 396.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.121, allocations: 4 kB / 396.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.1211, allocations: 121.5 kB / 396.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1211, allocations: 0 / 396.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005127/0.1216, allocations: 99.78 kB / 396.6 MB, free: 13.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002373/0.1219, allocations: 131.2 kB / 396.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006378/0.1225, allocations: 334.4 kB / 397.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1225, allocations: 0 / 397.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.1229, allocations: 250.4 kB / 397.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.1232, allocations: 16 kB / 397.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1243, allocations: 0.5629 MB / 397.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.1244, allocations: 150.4 kB / 398.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.931e-05/0.1245, allocations: 25.94 kB / 398.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.1246, allocations: 16.5 kB / 398.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1246, allocations: 0 / 398.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of Templates: time 0.007632/0.1322, allocations: 2.663 MB / 400.8 MB, free: 9.191 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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: 4.587073398055509]