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.001276/0.001276, allocations: 85.98 kB / 20.68 MB, free: 1.035 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.001398/0.001398, allocations: 164.5 kB / 23.95 MB, free: 4.168 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.437/1.437, allocations: 177.1 MB / 204.3 MB, free: 9.18 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 1.092e-06/1.092e-06, allocations: 0 / 325.1 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.794e-05, allocations: 3.219 kB / 325.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003823/0.003841, allocations: 2.682 MB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.005814, allocations: 1.15 MB / 328.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.00594, allocations: 7.719 kB / 328.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.007561, allocations: 0.5984 MB / 329.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.007893, allocations: 146.5 kB / 329.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.009231, allocations: 0.6081 MB / 330.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.009655, allocations: 308.1 kB / 330.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004359/0.01009, allocations: 237.9 kB / 330.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.01038, allocations: 195.2 kB / 331 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.01058, allocations: 126.2 kB / 331.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.01063, allocations: 25.09 kB / 331.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.01097, allocations: 178.2 kB / 331.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.01104, allocations: 57.67 kB / 331.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.01117, allocations: 103.8 kB / 331.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.01183, allocations: 0.5194 MB / 332 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01184, allocations: 3.984 kB / 332 MB, free: 12.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01184, allocations: 0 / 332 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.01185, allocations: 1.312 kB / 332 MB, free: 12.27 MB / 302.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.001706/0.01355, allocations: 0.6455 MB / 332.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.01358, allocations: 9.281 kB / 332.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008671/0.01445, allocations: 120.1 kB / 332.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.01479, allocations: 207.8 kB / 333 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.01481, allocations: 29.22 kB / 333 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.01487, allocations: 30.16 kB / 333 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.01545, allocations: 337.1 kB / 333.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.01547, allocations: 4.172 kB / 333.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.0155, allocations: 18.53 kB / 333.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.01551, allocations: 7.625 kB / 333.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.01594, allocations: 239.2 kB / 333.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.01781, allocations: 1.034 MB / 334.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.01833, allocations: 242.9 kB / 334.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.01849, allocations: 88.73 kB / 335 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.01859, allocations: 23.2 kB / 335 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.01862, allocations: 39.7 kB / 335 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.01863, allocations: 0 / 335 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001278/0.0199, allocations: 418 kB / 335.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.01995, allocations: 53.72 kB / 335.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.02011, allocations: 163.1 kB / 335.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.02014, allocations: 26.67 kB / 335.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.02027, allocations: 186.5 kB / 335.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.758e-05/0.02035, allocations: 93.62 kB / 335.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-05/0.02045, allocations: 53.03 kB / 336 MB, free: 9.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.0206, allocations: 326.4 kB / 336.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.02073, allocations: 68.81 kB / 336.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.02092, allocations: 138.2 kB / 336.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.02124, allocations: 215.8 kB / 336.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.02124, allocations: 0 / 336.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006048/0.02185, allocations: 326.4 kB / 337 MB, free: 8.484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.02186, allocations: 6.469 kB / 337.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.02187, allocations: 5.031 kB / 337.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/0.02218, allocations: 79.25 kB / 337.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.02234, allocations: 44.66 kB / 337.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.02452, allocations: 1.889 MB / 339.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.02467, allocations: 26.59 kB / 339.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.02469, allocations: 12.53 kB / 339.1 MB, free: 6.691 MB / 302.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.000152/0.02484, allocations: 143.2 kB / 339.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.02489, allocations: 19.91 kB / 339.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.0255, allocations: 295 kB / 339.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.0255, allocations: 4 kB / 339.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.0255, allocations: 0 / 339.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.02551, allocations: 3.938 kB / 339.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.0265, allocations: 0.577 MB / 340.1 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.0265, allocations: 0 / 340.1 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.02665, allocations: 27.92 kB / 340.2 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002451/0.02689, allocations: 72.75 kB / 340.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.02691, allocations: 8 kB / 340.2 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.029, allocations: 1.88 MB / 342.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.029, allocations: 3.938 kB / 342.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.02972, allocations: 443.4 kB / 342.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.0298, allocations: 39.84 kB / 342.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.02982, allocations: 4 kB / 342.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.02994, allocations: 3.938 kB / 342.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.03, allocations: 19.97 kB / 342.6 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.03002, allocations: 7.984 kB / 342.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.03012, allocations: 122.2 kB / 342.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03012, allocations: 0 / 342.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000499/0.03062, allocations: 103.8 kB / 342.9 MB, free: 2.859 MB / 302.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.0002208/0.03084, allocations: 123.2 kB / 343 MB, free: 2.727 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006182/0.03146, allocations: 342.3 kB / 343.3 MB, free: 2.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.03146, allocations: 0 / 343.3 MB, free: 2.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.03182, allocations: 238.4 kB / 343.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.03213, allocations: 23.8 kB / 343.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009886/0.03312, allocations: 0.5203 MB / 344.1 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.03326, allocations: 146.5 kB / 344.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.027e-05/0.03336, allocations: 25.94 kB / 344.3 MB, free: 1.383 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.0334, allocations: 20.5 kB / 344.3 MB, free: 1.359 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.0334, allocations: 0 / 344.3 MB, free: 1.359 MB / 302.1 MB Notification: Performance of Templates: time 0.007165/0.04057, allocations: 2.667 MB / 346.9 MB, free: 14.71 MB / 318.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/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.290526606142521]