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.001273/0.001273, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.001415/0.001415, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.487/1.487, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.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.002399/0.002399, allocations: 51.94 kB / 374.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1265, allocations: 53.32 MB / 427.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004304/0.1308, allocations: 2.862 MB / 430.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1327, allocations: 1.23 MB / 431.6 MB, free: 160 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1328, allocations: 8 kB / 431.6 MB, free: 152 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2171/0.35, allocations: 0.6131 MB / 432.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.3505, allocations: 142.2 kB / 432.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3516, allocations: 0.6533 MB / 433 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.352, allocations: 299.4 kB / 433.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.3524, allocations: 209.2 kB / 433.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.3526, allocations: 139.3 kB / 433.6 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.3528, allocations: 169.8 kB / 433.8 MB, free: 8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.3528, allocations: 25.16 kB / 433.8 MB, free: 8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.3532, allocations: 187.6 kB / 434 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.3532, allocations: 57.64 kB / 434.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3533, allocations: 150.4 kB / 434.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005754/0.3539, allocations: 0.4997 MB / 434.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3539, allocations: 0 / 434.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3539, allocations: 0 / 434.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3539, allocations: 0 / 434.7 MB, free: 7.875 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.001621/0.3555, allocations: 0.7346 MB / 435.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3556, allocations: 9.25 kB / 435.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008454/0.3564, allocations: 115.9 kB / 435.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.3568, allocations: 263.7 kB / 435.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.3568, allocations: 20.88 kB / 435.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.3569, allocations: 37.84 kB / 435.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.3575, allocations: 332.8 kB / 436.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.3575, allocations: 5.688 kB / 436.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.3575, allocations: 13.69 kB / 436.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3575, allocations: 8.281 kB / 436.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.358, allocations: 249.2 kB / 436.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.3599, allocations: 1.439 MB / 437.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.3604, allocations: 0.685 MB / 438.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3606, allocations: 94.02 kB / 438.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.3607, allocations: 173 kB / 438.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3607, allocations: 38.3 kB / 438.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.803e-06/0.3607, allocations: 0 / 438.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001273/0.362, allocations: 0.4919 MB / 439.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.362, allocations: 55.28 kB / 439.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3622, allocations: 169.6 kB / 439.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3622, allocations: 27.17 kB / 439.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.3623, allocations: 177.3 kB / 439.8 MB, free: 4.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.3624, allocations: 93.41 kB / 439.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.3624, allocations: 50.23 kB / 439.9 MB, free: 4.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.636e-05/0.3625, allocations: 331.5 kB / 440.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3626, allocations: 70.8 kB / 440.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.3628, allocations: 123.7 kB / 440.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.363, allocations: 223 kB / 440.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.363, allocations: 4.969 kB / 440.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005399/0.3636, allocations: 333.2 kB / 441 MB, free: 3.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3636, allocations: 6.188 kB / 441 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3636, allocations: 2.375 kB / 441 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/0.3639, allocations: 80.03 kB / 441.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3641, allocations: 43.44 kB / 441.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.3658, allocations: 2.024 MB / 443.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.3659, allocations: 27.06 kB / 443.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.3659, allocations: 8.844 kB / 443.2 MB, free: 1.992 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.0001227/0.3661, allocations: 154.9 kB / 443.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.3661, allocations: 20.47 kB / 443.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/0.3667, allocations: 283.5 kB / 443.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3667, allocations: 2.906 kB / 443.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3667, allocations: 8.047 kB / 443.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3667, allocations: 1.172 kB / 443.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009277/0.3676, allocations: 0.6896 MB / 444.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3676, allocations: 0.9062 kB / 444.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.3677, allocations: 27.84 kB / 444.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/0.368, allocations: 80.27 kB / 444.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.368, allocations: 5.328 kB / 444.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.3699, allocations: 2.017 MB / 446.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3699, allocations: 0 / 446.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.3707, allocations: 462.4 kB / 446.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.3708, allocations: 115.3 kB / 447 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3708, allocations: 1.953 kB / 447 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.371, allocations: 5.125 kB / 447 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.371, allocations: 19.88 kB / 447.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.371, allocations: 5.031 kB / 447.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.3712, allocations: 129.5 kB / 447.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3712, allocations: 1.25 kB / 447.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005628/0.3718, allocations: 107.4 kB / 447.3 MB, free: 14.82 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.0002465/0.372, allocations: 125 kB / 447.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007322/0.3727, allocations: 342 kB / 447.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3727, allocations: 0 / 447.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.3731, allocations: 238.8 kB / 448 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3734, allocations: 26.84 kB / 448 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3746, allocations: 0.5997 MB / 448.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.375, allocations: 0.7555 MB / 449.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.375, allocations: 18.86 kB / 449.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.375, allocations: 1 kB / 449.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of Templates: time 0.007719/0.3828, allocations: 4.134 MB / 453.5 MB, free: 12.82 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 -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: 7.9778777830069885]